:relfileprefix: ../../../
[#07603B6E749A2A4542239CDDF600750EE925AA92]

= Function params_ref::erase

pass:v,q[Erase elements]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
size_t
erase(
    string_view key,
    xref:boost/urls/ignore_case_param.adoc[ignore_case_param] ic = = {}) noexcept;
----

== Description

pass:v,q[All iterators are invalidated.]

=== Postconditions
[,cpp]
----
this->count( key, ic ) == 0
----

=== Complexity
pass:v,q[Linear in `this->url().encoded_query().size()`.]

=== Exception Safety
pass:v,q[Throws nothing.]



== Return Value

* `size_t` 


== Parameters

|===
| Name | Type 

| *key*
| `string_view`

| *ic*
| `ignore_case_param`

|===



