Create an empty set with at least the specified capacity, using the specified basicAllocator.
Synopsis
Declared in <bdlc_flathashset.h>
FlatHashSet(
std::size_t capacity,
bslma::Allocator* basicAllocator);
Parameters
Name |
Description |
capacity |
minimum initial capacity of the underlying array |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs