[#boost-urls-params_ref-clear] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/params_ref.adoc[params_ref]::clear :relfileprefix: ../../../ :mrdocs: Clear the contents of the container == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/params_ref.hpp#L280[boost/url/params_ref.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear() noexcept; ---- == Description All iterators are invalidated. === Effects [,cpp] ---- this->url().remove_query(); ---- === Postconditions [,cpp] ---- this->empty() == true && this->url().has_query() == false ---- === Complexity Constant. === Exception Safety Throws nothing. [.small]#Created with https://www.mrdocs.com[MrDocs]#