bsl::unordered_map::unordered_map

Create an unordered map from values using basicAllocator.

Synopsis

Declared in <bslstl_unorderedmap.h>

template<>
requires bsl::IsStdAllocator_v<ALLOCATOR>
unordered_map(
    std::initializer_list<value_type> values,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload.

Parameters

NameDescription
valuesinitializer list of values to insert
basicAllocatorallocator used to supply memory