empty

Return true if the authority is empty

Synopsis

bool
empty() const noexcept;

Defined in file <include/boost/url/authority_view.hpp> on line 210

Description

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

Example

assert( authority_view( "" ).empty() );

Exception Safety

Throws nothing.