[#BloombergLP-bdlc-FlatHashSet-2constructor-080] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::FlatHashSet :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, also using the specified `equal`. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashSet( bsl::initializer_list<KEY> 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 elements to insert | *capacity* | minimum initial capacity of the underlying array | *hash* | hash functor used by this set | *equal* | key‐equality predicate used by this set | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#