Create an unordered map from range with bucket count and allocator.

Synopsis

Declared in <bslstl_unorderedmap.h>

template<class RANGE>
unordered_map(
    std::from_range_t tag,
    RANGE&& range,
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload.

Parameters

Name

Description

tag

disambiguation tag for from‐range construction

range

input range of values to insert

initialNumBuckets

initial number of buckets

basicAllocator

allocator used to supply memory

Created with MrDocs