[#bsl-list-054-operator_assign-03] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::operator= :relfileprefix: ../../ :mrdocs: Assignment operators == Synopses Declared in `<bslstl_list.h>` Copy‐assign from the specified `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/list-054.adoc[list<VALUE, ALLOCATOR>]& xref:bsl/list-054/operator_assign-028.adoc[operator=](xref:bsl/list-054.adoc[list] const& rhs); ---- [.small]#xref:bsl/list-054/operator_assign-028.adoc[_» more..._]# Move‐assign from the specified `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/list-054.adoc[list<VALUE, ALLOCATOR>]& xref:bsl/list-054/operator_assign-022.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<list>] rhs) noexcept(AllocTraits::is_always_equal::value); ---- [.small]#xref:bsl/list-054/operator_assign-022.adoc[_» more..._]# Assign to this list from the specified `rhs` initializer list. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/list-054.adoc[list<VALUE, ALLOCATOR>]& xref:bsl/list-054/operator_assign-01.adoc[operator=](std::initializer_list<value_type> rhs); ---- [.small]#xref:bsl/list-054/operator_assign-01.adoc[_» more..._]# == Return Value modifiable reference to this list == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | list to copy‐assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#