:relfileprefix: ../../../
[#CB3CEAF890DC04403F8545D792EC072443651A71]

= Function param::operator=

pass:v,q[Assignment]


== Synopsis

Declared in header `</boost/url/param.hpp#L303[boost/url/param.hpp,window=blank_]>`

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

== Description

pass:v,q[The members of `other` are copied,] pass:v,q[re-using already existing string capacity.]

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

=== Complexity
pass:v,q[Linear in `other.key.size() + other.value.size()`.]

=== Exception Safety
pass:v,q[Calls to allocate may throw.]



== Return Value

* `` 


== Parameters

|===
| Name | Type 

| *other*
| ``

|===



