boost::urls::params_ref::erase

Erase elements

Synopsis

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

Description

All iterators are invalidated.

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

Linear in `this‐>url().encoded_query().size()`.

Throws nothing.

Return Value

The number of elements removed from the container.

Parameters

Name Description

key

The key to match. By default, a case‐sensitive comparison is used.

ic

An optional parameter. If the value xref:boost/urls/ignore_case.adoc[ignore_case] is passed here, the comparison is case‐insensitive.

Created with MrDocs