:relfileprefix: ../../../ [#boost-urls-segments_encoded_base-empty] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_encoded_base.adoc[pass:[segments_encoded_base]]::empty Return true if there are no segments === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool empty() const noexcept; ---- === Description [,cpp] ---- assert( ! url_view( "/index.htm" ).encoded_segments().empty() ); ---- === Constant. === Throws nothing.