Erase segments
Synopsis
Declared in header </boost/url/segments_encoded_ref.hpp#L532[boost/url/segments_encoded_ref.hpp,window=blank_]>
segments_encoded_base::iterator
erase(segments_encoded_base::iterator pos) noexcept;
Description
This function removes a segment.
All iterators that are equal to
pos
or come after are invalidated.
Complexity
Linear in this->url().encoded_resource().size()
.
Exception Safety
Throws nothing.
Return Value
-
iterator
Parameters
Name | Type |
---|---|
pos |
|