erase

Erase segments

Synopsis

iterator erase( iterator pos) noexcept;

Declared in file <boost/url/impl/segments_ref.hpp> at line 89

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.