Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
segments_encoded_ref::clear

Clear the contents of the container.

Synopsis
void
clear();
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.


PrevUpHomeNext