[#boost-urls-params_ref-erase-0f9] = 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#L622[boost/url/params_ref.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:boost/urls/params_base.adoc[iterator] erase( xref:boost/urls/params_base.adoc[iterator] first, xref:boost/urls/params_base.adoc[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 An iterator to one past the removed range. == Parameters [cols=2] |=== | Name | Description | *first* | The first element to remove. | *last* | One past the last element to remove. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#