[#bsl-unordered_map-0bf-2constructor-09] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-0bf.adoc[unordered_map<basic_string<char>, Json, TransparentHash, TransparentEqualTo>]::unordered_map :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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, xref:bsl/unordered_map-0bf/size_type.adoc[size_type] initialNumBuckets = 0, xref:BloombergLP/bdlb/TransparentHash.adoc[TransparentHash] const& hashFunction = HASH(), xref:BloombergLP/bdlb/TransparentEqualTo.adoc[TransparentEqualTo] const& keyEqual = EQUAL(), xref:bsl/allocator-0df.adoc[allocator<pair<basic_string<char> const, Json>>] const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#