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::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( authority_view( "" ).empty() );
Exception Safety

Throws nothing.


PrevUpHomeNext