[#BloombergLP-bdlc-FlatHashTable-2constructor-07b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable]::FlatHashTable :relfileprefix: ../../../ :mrdocs: Create a table having the same value, hasher, and key‐equality comparator as the specified `original` object by moving the contents of `original` to the new table, and using the specified `basicAllocator` to supply memory. Use a copy of `original.hash_function()` to generate hash values for the entries contained in this table. Use a copy of `original.key_eq()` to verify that the keys of two entries are equal. This method requires that the (template parameter) type `ENTRY` be `move‐insertable` into this `FlatHashTable`. If `basicAllocator` is 0, the currently installed default allocator is used. If `original` and the newly created object have the same allocator then the value of `original` becomes unspecified but valid, and no exceptions will be thrown; otherwise `original` is unchanged (and an exception may be thrown). == Synopsis Declared in `<bdlc_flathashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashTable( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<FlatHashTable>] original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#