boost::urls::segments_encoded_ref::erase :: Boost Libraries Documentation

# boost::urls::segments_encoded_ref::erase

Erase segments

## Synopses

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

Erase segments

    iterator
    erase(iterator pos) noexcept;

» more...

Erase segments

    iterator
    erase(
        iterator first,
        iterator last) noexcept;

» more...

## Return Value

- An iterator to one past the removed segment.

- An iterator to one past the removed range.

## Parameters

Name | Description
--- | ---
pos | An iterator to the element.
first | The first element in the range to erase.
last | One past the last element in the range to erase.

Created with MrDocs