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 an older version of Boost and was released in 2022. The current version is 1.91.0.
Return the complete authority.
string_view buffer() const;
This function returns the authority as a percent-encoded string.
assert( parse_authority( "www.example.com" ).value().encoded_authority() == "www.example.com" );
authority = [ userinfo "@" ] host [ ":" port ]
Throws nothing.