Erase segments
<include/boost/url/segments_encoded_ref.hpp>
iterator
erase(iterator pos) noexcept;
» more...
iterator
erase(
iterator first,
iterator last) noexcept;
» more...
This function removes a segment.
All iterators that are equal to `pos` or come after are invalidated.
An iterator to one past the removed segment.
Name | Description |
---|---|
pos | An iterator to the element. |
first, | last The range of segments to erase. |