[#bsl-unordered_set-0d2d-2constructor-015] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::unordered_set :relfileprefix: ../../ :mrdocs: Create an empty unordered set with the specified bucket count. == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit unordered_set( xref:bsl/unordered_set-0d2d/size_type.adoc[size_type] initialNumBuckets, HASH const& hashFunction = HASH(), EQUAL const& keyEqual = EQUAL(), ALLOCATOR const& basicAllocator = ALLOCATOR()); ---- == Description Same as the preceding overload, using the specified bucket count and hash/equality functors. == Parameters [cols="1,4"] |=== | Name| Description | *initialNumBuckets* | initial number of buckets | *hashFunction* | hash function | *keyEqual* | key‐equality functor | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#