boost::urls::segments_ref::erase Erase segments Synopsis Declared in header <boost/url/segments_ref.hpp> iterator erase( iterator first, iterator last) noexcept; Description This function removes a range of segments. All iterators that are equal to first or come after are invalidated. Linear in this->url().encoded_resource().size(). Throws nothing. Return Value An iterator to one past the removed range. Parameters Name Description first, last The range of segments to erase.