Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
authority_view::size

Return the number of characters in the authority.

Synopsis
std::size_t
size() const;
Description

This function returns the number of characters in the authority.

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

Throws nothing.


PrevUpHomeNext