size

Return the number of characters in the authority

Synopsis

size_t size() noexcept;

Declared in file <boost/url/authority_view.hpp> at line 191

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.