Erase elements

Synopsis

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

size_t
erase(
    string_view key,
    ignore_case_param ic = = {}) noexcept;

Description

All iterators are invalidated.

Postconditions

this->count( key, ic ) == 0

Complexity

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

Exception Safety

Throws nothing.

Return Value

  • size_t

Parameters

Name Type

key

string_view

ic

ignore_case_param