Create an unordered map from range with hash and allocator.

Synopsis

Declared in <bslstl_unorderedmap.h>

template<class RANGE>
unordered_map(
    std::from_range_t tag,
    RANGE&& range,
    size_type initialNumBuckets,
    HASH const& hashFunction,
    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

hashFunction

hash functor

basicAllocator

allocator used to supply memory

Created with MrDocs