:relfileprefix: ../../../ [#boost-urls-param-operator_assign-03] == xref:boost.adoc[pass:[boost]]::xref:boost/urls.adoc[pass:[urls]]::xref:boost/urls/param.adoc[pass:[param]]::operator= Assignment === Synopsis Declared in header `` [source,cpp,subs="verbatim,macros,-callouts"] ---- xref:boost/urls/param.adoc[param]& operator=(xref:boost/urls/param_pct_view.adoc[param_pct_view] const& other); ---- === Description The members of `other` are copied, re-using already existing string capacity. [,cpp] ---- this->key == other.key && this->value == other.value && this->has_value == other.has_value ---- === Linear in `other.key.size() + other.value.size()`. === Calls to allocate may throw. === Parameters |=== | Name | Description | *other* | The parameter to copy. |===