Same as the preceding overload, also requesting at least the specified capacity.
Declared in <bdlc_flathashset.h>
FlatHashSet(
bsl::initializer_list<KEY> values,
std::size_t capacity,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| values | initializer list of elements to insert |
| capacity | minimum initial capacity of the underlying array |
| basicAllocator | memory allocator; null uses the default |