:relfileprefix: ../../../ [#boost-urls-authority_view-empty] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/authority_view.adoc[pass:[authority_view]]::empty Return true if the authority is empty === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool empty() const noexcept; ---- === Description An empty authority has an empty host, no userinfo, and no port. [,cpp] ---- assert( authority_view( "" ).empty() ); ---- === Throws nothing.