Home:

boost::urls::params_ref::clear

Clear the contents of the container

Synopsis

Declared in header <boost/url/params_ref.hpp>

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.