[#bsl-slist-2constructor-0f] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::slist :relfileprefix: ../../ :mrdocs: Create an empty list using the specified allocator. == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit slist(xref:bsl/slist/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#