Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
segments_encoded_ref::clear

Clear the contents of the container.

Synopsis
void
clear();
Description

All iterators are invalidated.

Effects
this->[link url.ref.boost__urls__segments_encoded_ref.url `url`]().[link url.ref.boost__urls__static_url_base.set_encoded_path `set_encoded_path`]( "" );
Postconditions
this->[link url.ref.boost__urls__segments_encoded_ref.empty `empty`]() == true
Complexity

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

Exception Safety

Throws nothing.


PrevUpHomeNext