Erase segments

Synopsis

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

Description

This function removes a range of segments from the container. All iterators that are equal to first or come after are invalidated.

Complexity

Linear in this->url().encoded_resource().size().

Exception Safety

Throws nothing.

Return Value

  • iterator

Parameters

Name Type

first

iterator

last

iterator