[#bsl-unordered_set-0d2d-2constructor-0d]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered&lowbar;set]::unordered&lowbar;set
:relfileprefix: ../../
:mrdocs:

Create an empty unordered set with the specified parameters&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
unordered&lowbar;set(
    xref:bsl/unordered_set-0d2d/size_type.adoc[size&lowbar;type] initialNumBuckets,
    ALLOCATOR const& basicAllocator);
----

== Description

Same as the preceding overload, using the specified allocator&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialNumBuckets*
| initial number of buckets
| *basicAllocator*
| allocator used to supply memory
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
