[#bsl-unordered_set-09-2constructor-0a] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-09.adoc[unordered_set<Attribute, AttributeHash>]::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<> requires std::is_invocable_v<HASH, const KEY &> && std::is_invocable_v<EQUAL, const KEY &, const KEY &> && bsl::IsStdAllocator_v<ALLOCATOR> unordered_set( std::initializer_list<Attribute> values, xref:bsl/unordered_set-09/size_type.adoc[size_type] initialNumBuckets = 0, xref:BloombergLP/ball/DefaultAttributeContainer.adoc[AttributeHash] const& hashFunction = HASH(), xref:bsl/equal_to-0d.adoc[equal_to<Attribute>] const& keyEqual = EQUAL(), xref:bsl/allocator-0df.adoc[allocator<Attribute>] const& basicAllocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#