Assignment operators
Synopses
Declared in <bslstl_list.h>
Copy‐assign from the specified rhs.
list<VALUE, ALLOCATOR>&
operator=(list const& rhs);
Move‐assign from the specified rhs.
list<VALUE, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<list> rhs) noexcept(AllocTraits::is_always_equal::value);
Assign to this list from the specified rhs initializer list.
list<VALUE, ALLOCATOR>&
operator=(std::initializer_list<value_type> rhs);
Return Value
modifiable reference to this list
Parameters
Name |
Description |
rhs |
list to copy‐assign from |
Created with MrDocs