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

Create an empty set with at least the specified `capacity`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
FlatHashSet(std::size&lowbar;t capacity);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *capacity*
| minimum initial capacity of the underlying array
|===


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