Same as the preceding overload, also using the specified hash.
Synopsis
Declared in <bdlc_flathashmap.h>
FlatHashMap(
bsl::initializer_list<value_type> values,
std::size_t capacity,
HASH const& hash,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
values |
initializer list of key/value pairs to insert |
capacity |
minimum initial capacity of the underlying array |
hash |
hash functor used for keys |
basicAllocator |
allocator used to supply memory |
Created with MrDocs