bsl::unordered_map::unordered_map

Create an empty unordered map with bucket count and allocator.

Synopsis

Declared in <bslstl_unorderedmap.h>

unordered_map(
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload.

Parameters

NameDescription
initialNumBucketsinitial number of buckets
basicAllocatorallocator used to supply memory