bsl::unordered_map::unordered_map

Create an unordered map from [first, last)] with bucket count.

Synopsis

Declared in <bslstl_unorderedmap.h>

template<class INPUT_ITERATOR>
unordered_map(
    INPUT_ITERATOR first,
    INPUT_ITERATOR last,
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload.

Parameters

NameDescription
firststart of the range
lastend of the range (one past last)
initialNumBucketsinitial number of buckets
basicAllocatorallocator used to supply memory