:relfileprefix: ../../../ [#boost-urls-segments_encoded_ref-pop_back] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/segments_encoded_ref.adoc[pass:[segments_encoded_ref]]::pop_back Remove the last segment == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- void pop_back() noexcept; ---- == Description This function removes the last segment from the container. Iterators to the last segment as well as all end iterators are invalidated. === Preconditions [,cpp] ---- not this->empty() ---- === Exception Safety Throws nothing.