Same as the preceding overload, also requesting at least the specified capacity.
Declared in <bdlc_flathashmap.h>
FlatHashMap(
bsl::initializer_list<value_type> values,
std::size_t capacity,
bslma::Allocator* basicAllocator = 0);
| Name | Description |
|---|---|
| values | initializer list of key/value pairs to insert |
| capacity | minimum initial capacity of the underlying array |
| basicAllocator | allocator used to supply memory |