clear

Clear the contents of the container

Synopsis

void clear() noexcept;

Declared in file <boost/url/impl/segments_encoded_ref.hpp> at line 28

Description

All iterators are invalidated.

Effects

this->url().set_encoded_path( "" );

Postconditions

this->empty() == true

Complexity

Linear in `this->url().encoded_query().size() + this->url().encoded_fragment().size()`.

Exception Safety

Throws nothing.