[#BloombergLP-bdlc-FlatHashTable-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::FlatHashTable
:relfileprefix: ../../../
:mrdocs:

Create a table by moving from the specified `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
FlatHashTable(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;FlatHashTable&gt;] original);
----

== Description

Create a table having the same value as the specified `original` object by moving (in constant time) the contents of `original` to the new table&period; Use a copy of `original&period;hash&lowbar;function()` to generate hash values for the keys of the entries contained in this table&period; Use a copy of `original&period;key&lowbar;eq()` to verify that two keys are equal&period; The allocator associated with `original` is propagated for use in the newly&hyphen;created table&period; `original` is left in a (valid) unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| table to move from
|===


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