[#BloombergLP-bdlc-FlatHashMap-2constructor-051] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::FlatHashMap :relfileprefix: ../../../ :mrdocs: Create an empty map with at least the specified `capacity` and `hash` functor; optionally use `basicAllocator`. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashMap( std::size_t capacity, HASH const& hash, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#