[#bsl-slist-2constructor-01a] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::slist :relfileprefix: ../../ :mrdocs: Create a list as a copy of the specified list. == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- slist(xref:bsl/slist.adoc[_Self] const& __x); ---- == Parameters [cols="1,4"] |=== | Name| Description | *__x* | list whose elements are copied |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#