<boost/url/segments_ref.hpp>
void clear() noexcept;
All iterators are invalidated.
this->url().set_encoded_path( "" );
this->empty() == true
Linear in this->url().encoded_query().size() + this->url().encoded_fragment().size().
this->url().encoded_query().size() + this->url().encoded_fragment().size()
Throws nothing.