Clear the contents of the container
Synopsis
Declared in header <boost/url/segments_encoded_ref.hpp>
void
clear() noexcept;
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.