:relfileprefix: ../../../ [#boost-urls-params_ref-clear] = xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/params_ref.adoc[pass:[params_ref]]::clear Clear the contents of the container == Synopsis Declared in header `` [source,cpp,subs="verbatim,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.