Remove the last segment

Synopsis

Declared in header </boost/url/segments_encoded_ref.hpp#L772[boost/url/segments_encoded_ref.hpp,window=blank_]>

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

not this->empty()

Exception Safety

Throws nothing.

Return Value

  • void