Boost.URL

    • Quick Look
    • URLs
      • Parsing
      • Containers
      • Segments
      • Params
      • Normalization
      • String Token
      • Percent Encoding
      • Formatting
    • Customization
      • Parse Rules
      • Character Sets
      • Compound Rules
      • Ranges
      • RFC 3986
    • Examples
      • QR Code
      • Finicky
      • mailto URLs
      • Magnet Link
      • File Router
      • Router
      • Sanitizing URLs
    • Reference
      • Concepts
        • CharSet
        • Rule
        • StringToken
      • Help Card
  • boost::urls::authority_view::size

boost::urls::authority_view::size

Return the number of characters in the authority

Synopsis

Declared in <include/boost/url/authority_view.hpp>

std::size_t
size() const noexcept;

Description

This function returns the number of characters in the authority.

assert( authority_view( "user:pass@www.example.com:8080" ).size() == 30 );

Throws nothing.

Created with MrDocs