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