[#BloombergLP-bdlc-FlatHashSet-2constructor-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::FlatHashSet
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, also requesting at least the specified `capacity`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FlatHashSet(
    bsl::initializer&lowbar;list&lt;KEY&gt; values,
    std::size&lowbar;t capacity,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
