Assignment operators

Synopses

Declared in <bslstl_deque.h>

Copy‐assign from the specified rhs.

Move‐assign from the specified rhs.

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

Assign the elements of values to this deque.

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

Return Value

modifiable reference to this deque

Parameters

Name

Description

rhs

deque to copy‐assign from

values

initializer list of elements to assign

Created with MrDocs