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

Create an empty `FlatHashSet` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FlatHashSet();
----

== Description

Optionally specify a `capacity` indicating the minimum initial size of the underlying array of entries of this container&period; If `capacity` is not supplied or is 0, no memory is allocated&period; Optionally specify a `hash` functor used to generate the hash values associated with the elements in this container&period; If `hash` is not supplied, a default&hyphen;constructed object of the (template parameter) type `HASH` is used&period; Optionally specify an equality functor `equal` used to determine whether two elements are equivalent&period; If `equal` is not supplied, a default&hyphen;constructed object of the (template parameter) type `EQUAL` is used&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is not supplied or is 0, the currently installed default allocator is used&period;


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