Add data to the end of the deque.
- Parameters
-
This is a typical stack operation. The function creates an element at the end of the deque and assigns the given data to it. Due to the nature of a deque this operation can be done in constant time.
Definition at line 1605 of file stl_deque.h.
1606 {
1607 if (this->
_M_impl._M_finish._M_cur
1609 {
1612 ++this->
_M_impl._M_finish._M_cur;
1613 }
1614 else
1616 }
void _M_push_back_aux(_Args &&... __args)
Helper functions for push_* and pop_*.
A standard container using fixed-size memory allocation and constant-time manipulation of elements at...
static constexpr std::__enable_if_t< __is_custom_pointer< _Ptr >::value > construct(_Tp_alloc_type &__a, _Ptr __p, _Args &&... __args) noexcept(noexcept(_Base_type::construct(__a, std::__to_address(__p), std::forward< _Args >(__args)...)))
Referenced by _M_emplace_aux(), _M_range_initialize(), and insert().