[#bsl-unordered_map-02b-operator_assign-02]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign to this object the value, hasher, key&hyphen;equality functor, and `max&lowbar;load&lowbar;factor` 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; Note that this method requires that the (template parameter) types `KEY` and `VALUE` both be `copy&hyphen;constructible` (see &lcub;Requirements on `value&lowbar;type`&rcub;)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]&
operator&equals;(xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map] const& rhs);
----


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