Create an empty unordered map with hash and allocator.

Synopsis

Declared in <bslstl_unorderedmap.h>

unordered_map(
    size_type initialNumBuckets,
    HASH const& hashFunction,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload.

Parameters

Name

Description

initialNumBuckets

initial number of buckets

hashFunction

hash functor

basicAllocator

allocator used to supply memory

Created with MrDocs