:relfileprefix: ../../../ [#boost-urls-segments_encoded_base-is_absolute] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_encoded_base.adoc[pass:[segments_encoded_base]]::is_absolute Returns true if this references an absolute path. == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- bool is_absolute() const noexcept; ---- == Description Absolute paths always start with a forward slash ('/'). === Example [,cpp] ---- assert( url_view( "/path/to/file.txt" ).encoded_segments().is_absolute() == true ); ---- === Complexity Constant. === Exception Safety Throws nothing.