[#BloombergLP-bdlc-FlatHashMap-2constructor-0af] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::FlatHashMap :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, also using the specified `equal`. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashMap( bsl::initializer_list<value_type> values, std::size_t capacity, HASH const& hash, EQUAL const& equal, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Parameters [cols="1,4"] |=== | Name| Description | *values* | initializer list of key/value pairs to insert | *capacity* | minimum initial capacity of the underlying array | *hash* | hash functor used for keys | *equal* | key‐equality predicate | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#