[#bsl-_Slist_base-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/_Slist_base.adoc[&lowbar;Slist&lowbar;base]::&lowbar;Slist&lowbar;base
:relfileprefix: ../../
:mrdocs:

Create an empty base using the specified allocator&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;slist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;Slist&lowbar;base(xref:bsl/_Slist_base/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;a*
| allocator used to allocate nodes
|===


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