Create an empty set with at least the specified capacity and hash functor; optionally use basicAllocator.
Declared in <bdlc_flathashset.h>
FlatHashSet(
std::size_t capacity,
HASH const& hash,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| capacity | minimum initial capacity of the underlying array |
| hash | hash functor used by this set |
| basicAllocator | memory allocator; null uses the default |