[#bsl-slist-operator_assign]
= xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assign this list to be a copy of the specified list&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/slist.adoc[&lowbar;Self]&
operator&equals;(xref:bsl/slist.adoc[&lowbar;Self] const& &lowbar;&lowbar;x);
----

== Return Value

reference to this list

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;x*
| list whose elements are assigned into this list
|===


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