Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
authority_view::empty

Return true if the authority is empty.

Synopsis
bool
empty() const;
Description

An empty authority has an empty host, no userinfo, and no port.

Example
assert( [link url.ref.boost__urls__authority_view.authority_view `authority_view`]( "" ).[link url.ref.boost__urls__authority_view.empty `empty`]() );
Exception Safety

Throws nothing.


PrevUpHomeNext