[#bsl-unordered_map-02b-2constructor-0b] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::unordered_map :relfileprefix: ../../ :mrdocs: Create an unordered map from `values` with bucket count and allocator. == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> requires bsl::IsStdAllocator_v<ALLOCATOR> unordered_map( std::initializer_list<value_type> values, xref:bsl/unordered_map-02b/size_type.adoc[size_type] initialNumBuckets, ALLOCATOR const& basicAllocator); ---- == Description Same as the preceding overload. == Parameters [cols="1,4"] |=== | Name| Description | *values* | initializer list of values to insert | *initialNumBuckets* | initial number of buckets | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#