[#boost-urls-param-operator_assign-0cd] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/param.adoc[param]::operator= :relfileprefix: ../../../ :mrdocs: Assignment == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/param.hpp#L229[boost/url/param.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:boost/urls/param.adoc[param]& operator=(xref:boost/urls/param.adoc[param] const& other) = default; ---- == Description Upon assignment, this becomes a copy of `other`. == Postconditions [,cpp] ---- this->key == other.key && this->value == other.value && this->has_value == other.has_value ---- == Complexity Linear in `other.key.size() + other.value.size()`. == Exception Safety Calls to allocate may throw. == Return Value A reference to this object. == Parameters [cols=2] |=== | Name | Description | *other* | The object to assign from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#