:relfileprefix: ../../../ [#63823226B3AAA6BADBF076A1788E7EC9C58E8535] = Function url::operator= pass:v,q[Assignment] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/url.adoc[url]& operator=(const xref:boost/urls/url.adoc[url]& u); ---- == Description pass:v,q[The contents of `u` are copied and] pass:v,q[the previous contents of `this` are] pass:v,q[destroyed.] pass:v,q[Capacity is preserved, or increases.] === Postconditions [,cpp] ---- this->buffer() == u.buffer() && this->buffer().data() != u.buffer().data() ---- === Complexity pass:v,q[Linear in `u.size()`.] === Exception Safety pass:v,q[Strong guarantee.] pass:v,q[Calls to allocate may throw.] == Return Value * `` == Parameters |=== | Name | Type | *u* | `` |===