Erase elements

Synopsis

Declared in header </boost/url/params_ref.hpp#L619[boost/url/params_ref.hpp,window=blank_]>

params_base::iterator
erase(
    params_base::iterator first,
    params_base::iterator last) noexcept;

Description

This function removes a range of elements from the container. All iterators that are equal to first or come after are invalidated.

Complexity

Linear in this->url().encoded_query().size().

Exception Safety

Throws nothing.

Return Value

  • iterator

Parameters

Name Type

first

iterator

last

iterator