bsl::deque::operator=

Assignment operators

Synopses

Declared in <bslstl_deque.h>

Copy-assign from the specified rhs.

deque<VALUE_TYPE, ALLOCATOR>&
operator=(deque const& rhs);
» more...

Move-assign from the specified rhs.

deque<VALUE_TYPE, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<deque> rhs) noexcept(AllocatorTraits::is_always_equal::value);
» more...

Assign the elements of values to this deque.

deque<VALUE_TYPE, ALLOCATOR>&
operator=(std::initializer_list<value_type> values);
» more...

Return Value

modifiable reference to this deque

Parameters

NameDescription
rhsdeque to copy-assign from
valuesinitializer list of elements to assign