bsl::list::operator=

Assignment operators

Synopses

Declared in <bslstl_list.h>

Copy-assign from the specified rhs.

list<VALUE, ALLOCATOR>&
operator=(list const& rhs);
» more...

Move-assign from the specified rhs.

list<VALUE, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<list> rhs) noexcept(AllocTraits::is_always_equal::value);
» more...

Assign to this list from the specified rhs initializer list.

list<VALUE, ALLOCATOR>&
operator=(std::initializer_list<value_type> rhs);
» more...

Return Value

modifiable reference to this list

Parameters

NameDescription
rhslist to copy-assign from