:relfileprefix: ../../../ [#4FCF29901B63BA6DE26090500724DD5E83F2CE3C] = Function segments_ref::clear pass:v,q[Clear the contents of the container] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- void clear() noexcept; ---- == Description pass:v,q[All iterators are invalidated.] === Effects [,cpp] ---- this->url().set_encoded_path( "" ); ---- === Postconditions [,cpp] ---- this->empty() == true ---- === Complexity pass:v,q[Linear in `this->url().encoded_query().size() + this->url().encoded_fragment().size()`.] === Exception Safety pass:v,q[Throws nothing.] == Return Value * `void`