Same as the preceding overload, using the specified allocator.
Synopsis
Declared in <bslstl_unorderedmultiset.h>
template<
class = void,
class = void>
requires std::is_invocable_v<HASH, const KEY &> && bsl::IsStdAllocator<ALLOCATOR>::value
unordered_multiset(
std::initializer_list<KEY> values,
size_type initialNumBuckets,
HASH const& hashFunction,
ALLOCATOR const& basicAllocator);
Parameters
Name |
Description |
values |
initializer list of keys to insert |
initialNumBuckets |
the initial number of buckets |
hashFunction |
the hash function |
basicAllocator |
the allocator used to supply memory |
Created with MrDocs