Same as the preceding overload, using the specified bucket count and hash/equality functors.

Synopsis

Declared in <bslstl_unorderedmultiset.h>

explicit
unordered_multiset(
    size_type initialNumBuckets,
    HASH const& hashFunction = HASH(),
    EQUAL const& keyEqual = EQUAL(),
    ALLOCATOR const& basicAllocator = ALLOCATOR());

Parameters

Name

Description

initialNumBuckets

the initial number of buckets

hashFunction

the hash function

keyEqual

the key‐equality functor

basicAllocator

the allocator used to supply memory

Created with MrDocs