clear

Clear the contents of the container

Synopsis

void
clear() noexcept;

Declared in file <include/boost/url/params_encoded_ref.hpp> on line 250

Defined in file <include/boost/url/impl/params_encoded_ref.hpp> on 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.