[#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`. == Synopsis Declared in `<bdlc_flathashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit FlatHashTable(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<FlatHashTable>] 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. Use a copy of `original.hash_function()` to generate hash values for the keys of the entries contained in this table. Use a copy of `original.key_eq()` to verify that two keys are equal. The allocator associated with `original` is propagated for use in the newly‐created table. `original` is left in a (valid) unspecified state. == Parameters [cols="1,4"] |=== | Name| Description | *original* | table to move from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#