[#boost-urls-param-operator_assign-0cb]
= xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/param.adoc[param]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment

== Synopsis

Declared in `&lt;https://www.github.com/boostorg/url/blob/develop/include/boost/url/param.hpp#Lundefined[boost&sol;url&sol;param&period;hpp]&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:boost/urls/param.adoc[param]&
operator&equals;(xref:boost/urls/param_view.adoc[param&lowbar;view] const& other);
----

== Description

The members of `other` are copied, re&hyphen;using already existing string capacity&period;

== Postconditions

[,cpp]
----
this->key == other.key && this->value == other.value && this->has_value == other.has_value
----
== Complexity

Linear in `other&period;key&period;size() &plus; other&period;value&period;size()`&period;

== Exception Safety

Calls to allocate may throw&period;

== Return Value

A reference to this object&period;

== Parameters

[cols="1,4"]
|===
|Name|Description

| *other*
| The parameter to copy&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
