[#boost-urls-params_ref-erase-00] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_ref.adoc[params_ref]::erase :relfileprefix: ../../../ :mrdocs: Erase elements == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_ref.hpp#L655[boost/url/params_ref.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t erase( core::string_view key, xref:boost/urls/ignore_case_param.adoc[ignore_case_param] ic = {}) noexcept; ---- == Description All iterators are invalidated. == Postconditions [,cpp] ---- this->count( key, ic ) == 0 ---- == Complexity Linear in `this‐>url().encoded_query().size()`. == Exception Safety Throws nothing. == Return Value The number of elements removed from the container. == Parameters [cols=2] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#