template<typename _Tp, typename _Alloc>
template<typename... _Args>
| void deque::_M_push_front_aux |
( |
_Args &&... | __args | ) |
|
|
protected |
Helper functions for push_* and pop_*.
Definition at line 523 of file deque.tcc.
530 {
533 __N(
"cannot create std::deque larger than max_size()"));
534
538 {
540 - 1);
541 this->
_M_impl._M_start._M_cur = this->
_M_impl._M_start._M_last - 1;
542#if __cplusplus >= 201103L
546#else
548#endif
549 }
551 {
555 }
556 }
void __throw_length_error(const char *)
void _M_deallocate_node(_Ptr __p) noexcept
size_type size() const noexcept
size_type max_size() const noexcept
void _M_reserve_map_at_front(size_type __nodes_to_add=1)
Memory-handling helpers for the major map.
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)...)))
References deque(), __catch, __N, __throw_exception_again, std::__throw_length_error(), __try, _M_allocate_node(), _M_deallocate_node(), _M_impl, _M_reserve_map_at_front(), __gnu_cxx::__alloc_traits< _Tp_alloc_type >::construct(), std::forward(), max_size(), and size().
Referenced by emplace_front().