[#BloombergLP-bdlc-FlatHashTable-operator_assign-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this object the value, hash function, and key&hyphen;equality comparator of the specified `rhs` object and return a reference offering modifiable access to this object&period; The entries of `rhs` are moved (in constant time) to this object if the two have the same allocator, otherwise entries from `rhs` are moved into this table&period; In either case, `rhs` is left in a valid but unspecified state&period; If an exception is thrown, this object is left in a valid but unspecified state&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashtable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable&lt;KEY, ENTRY, ENTRY&lowbar;UTIL, HASH, EQUAL&gt;]&
operator&equals;(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;FlatHashTable&gt;] rhs);
----


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