boost::urls::segments_ref::pop_back :: Boost Libraries Documentation

# boost::urls::segments_ref::pop_back

Remove the last segment

## Synopsis

Declared in `<boost/url/segments_ref.hpp>`

    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.

Created with MrDocs