erase

Erase segments

Synopsis

iterator erase( iterator pos) noexcept;

Declared in file <boost/url/impl/segments_encoded_ref.hpp> at line 90

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.