Clear the contents of the container

Synopsis

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

void
clear() noexcept;

Description

All iterators are invalidated.

Effects

this->url().remove_query();

Postconditions

this->empty() == true && this->url().has_query() == false

Complexity

Constant.

Exception Safety

Throws nothing.

Return Value

  • void