Create an unordered map from range with hash and allocator.
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);
Same as the preceding overload.
| 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 |