:relfileprefix: ../../../ [#3DECAB6F82EE647D05E53A09766CCF207E0219C2] = Function params_encoded_ref::operator= pass:v,q[Assignment] == Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/params_encoded_ref.adoc[params_encoded_ref]& operator=(initializer_list init); ---- == Description pass:v,q[After assignment, the previous contents] pass:v,q[of the query parameters are replaced by] pass:v,q[the contents of the initializer-list.] pass:v,q[All iterators are invalidated.] === Preconditions pass:v,q[None of character buffers referenced by] pass:v,q[`init` may overlap the character buffer of] pass:v,q[the underlying url, or else the behavior] pass:v,q[is undefined.] === Effects [,cpp] ---- this->assign( init.begin(), init.end() ); ---- === Complexity pass:v,q[Linear in `init.size()`.] === Exception Safety pass:v,q[Strong guarantee.] pass:v,q[Calls to allocate may throw.] pass:v,q[Exceptions thrown on invalid input.] == Return Value * `` == Parameters |=== | Name | Type | *init* | `initializer_list` |===