Boost C++ Libraries Home Libraries People FAQ More

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( [link url.ref.boost__urls__authority_view.authority_view `authority_view`]( "user:pass@www.example.com:8080" ).[link url.ref.boost__urls__authority_view.size `size`]() == 30 );
Exception Safety

Throws nothing.


PrevUpHomeNext