:relfileprefix: ../../../
[#CDF19EBB42B5FC5FA65F45F352976CD19485CDF3]

= Function param::operator=

pass:v,q[Assignment]


== Synopsis

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

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

== Description

pass:v,q[Upon assignment, this becomes a copy] pass:v,q[of `other`.]

=== 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.]

=== other The object to assign from.



== Return Value

* `` 


== Parameters

|===
| Name | Type 

| **
| ``

|===



