[#BloombergLP-bdlc-FlatHashSet-2constructor-06] = 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` and `hash` functor; optionally use `basicAllocator`. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FlatHashSet( std::size_t capacity, HASH const& hash, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#