[#bsl-set-0d-2constructor-0d6]
= xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::set
:relfileprefix: ../../
:mrdocs:

Create an empty set that uses the specified `basicAllocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
set(ALLOCATOR const& basicAllocator);
----

== Description

Use a default&hyphen;constructed object of the (template parameter) type `COMPARATOR` to order the keys contained in this set&period; Note that a `bslma&colon;&colon;Allocator &ast;` can be supplied for `basicAllocator` if the (template parameter) type `ALLOCATOR` is `bsl&colon;&colon;allocator` (the default)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
|===


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