[#bsl-list-054-2constructor-08]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::list
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

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

== Description

If the type `ALLOCATOR` is `bsl&colon;&colon;allocator` (the default), then `basicAllocator` shall be convertible to `bslma&colon;&colon;Allocator &ast;`&period;

== Parameters

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


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