Deque assignment operator.
- Parameters
-
| __x | A deque of identical element and allocator types. |
All the elements of x are copied.
The newly-created deque uses a copy of the allocator object used by __x (unless the allocator traits dictate a different object).
Definition at line 95 of file deque.tcc.
97 {
99 {
100#if __cplusplus >= 201103L
102 {
105 {
106
107
111 return *this;
112 }
115 }
116#endif
121 else
122 {
127 }
128 }
129 return *this;
130 }
constexpr _OIter copy(_IIter, _IIter, _OIter)
size_type size() const noexcept
ptrdiff_t difference_type
void _M_range_insert_aux(iterator __pos, _InputIterator __first, _InputIterator __last, std::input_iterator_tag)
allocator_type get_allocator() const noexcept
Get a copy of the memory allocation object.
void _M_erase_at_end(iterator __pos)
_Base::const_iterator const_iterator
void _M_replace_map(_Args &&... __args)
_Tp_alloc_type & _M_get_Tp_allocator() noexcept
iterator begin() noexcept
A standard container using fixed-size memory allocation and constant-time manipulation of elements at...
static constexpr bool _S_always_equal()
static constexpr bool _S_propagate_on_copy_assign()
References deque(), std::__addressof(), _M_erase_at_end(), _M_get_Tp_allocator(), _M_impl, _M_range_insert_aux(), _M_replace_map(), __gnu_cxx::__alloc_traits< _Tp_alloc_type >::_S_always_equal(), __gnu_cxx::__alloc_traits< _Tp_alloc_type >::_S_propagate_on_copy_assign(), begin(), std::copy(), end(), get_allocator(), and size().