:relfileprefix: ../../../
[#9367656172F79924E25471EECFF84E44972BD9E9]

= Function params_encoded_ref::clear

pass:v,q[Clear the contents of the container]


== Synopsis

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

[source,cpp,subs="verbatim,macros,-callouts"]
----
void
clear() noexcept;
----

== Description

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

=== Effects
[,cpp]
----
this->url().remove_query();
----

=== Postconditions
[,cpp]
----
this->empty() == true && this->url().has_query() == false
----

=== Complexity
pass:v,q[Constant.]

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



== Return Value

* `void` 




