bsl::unordered_map<basic_string<char>, Json, TransparentHash, TransparentEqualTo>::unordered_map

Create an empty unordered map, having a max_load_factor of 1.0, and then create a value_type object for each element in the specified values list, ignoring those having a key that appears earlier in the sequence. Optionally specify a minimum initialNumBuckets, hashFunction, keyEqual, and basicAllocator as for the range constructor.

Synopsis

Declared in <bslstl_unorderedmap.h>

template<>
requires std::is_invocable_v<HASH, const KEY &> && std::is_invocable_v<EQUAL, const KEY &, const KEY &> && bsl::IsStdAllocator_v<ALLOCATOR>
unordered_map(
    std::initializer_list<value_type> values,
    size_type initialNumBuckets = 0,
    TransparentHash const& hashFunction = HASH(),
    TransparentEqualTo const& keyEqual = EQUAL(),
    allocator<pair<basic_string<char> const, Json>> const& basicAllocator = ALLOCATOR());