:relfileprefix: ../../../ [#2CBD2699BA94206FCC9BC9A9C88ED90AEFF61411] = Function segments_encoded_ref::operator= pass:v,q[Assignment] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/segments_encoded_ref.adoc[segments_encoded_ref]& operator=(const xref:boost/urls/segments_encoded_ref.adoc[segments_encoded_ref]& other); ---- == Description pass:v,q[The existing contents are replaced] pass:v,q[by a copy of the other segments.] pass:v,q[All iterators are invalidated.] [NOTE] pass:v,q[None of the character buffers referenced] pass:v,q[by `other` may overlap the buffer of the] pass:v,q[underlying url, or else the behavior] pass:v,q[is undefined.] === Effects [,cpp] ---- this->assign( other.begin(), other.end() ); ---- === Complexity pass:v,q[Linear in `other.buffer().size()`.] === Exception Safety pass:v,q[Strong guarantee.] pass:v,q[Calls to allocate may throw.] pass:v,q[@] pass:v,q[{] == Return Value * `` == Parameters |=== | Name | Type | *other* | `` |===