[#bsl-unordered_multimap-0b0-operator_assign-09]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value of `rhs`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmultimap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap&lt;KEY, VALUE, HASH, EQUAL, ALLOCATOR&gt;]&
operator&equals;(xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap] const& rhs);
----

== Description

Assign to this object the value, hash function, and key&hyphen;equivalence comparator of the specified `rhs` object, propagate to this object the allocator of `rhs` if the `ALLOCATOR` type has trait `propagate&lowbar;on&lowbar;container&lowbar;copy&lowbar;assignment`, and return a reference providing modifiable access to this object&period; If an exception is thrown, `&ast;this` is left in a valid but unspecified state&period; This method requires that the (template parameter) types `KEY` and `VALUE` both be `copy&hyphen;assignable` and `copy&hyphen;insertable` into this unordered multimap (see &lcub;Requirements on `KEY` and `VALUE`&rcub;)&period;

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| unordered multimap to copy&hyphen;assign from
|===


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