[#BloombergLP-bdlc-FlatHashMap-2constructor-06a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::FlatHashMap :relfileprefix: ../../../ :mrdocs: Create a map with the same value as the specified `original` object. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashMap( xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Create a `FlatHashMap` object having the same value, hasher, and equality comparator as the specified `original` object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is not specified or is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *original* | map providing the initial value | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#