clear

Clear the contents of the container

Synopsis

void clear() noexcept;

Declared in file <boost/url/impl/params_encoded_ref.hpp> at line 26

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.