libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ _M_pop_front_aux()

template<typename _Tp, typename _Alloc>
void deque::_M_pop_front_aux ( )
protected

Helper functions for push_* and pop_*.

Definition at line 576 of file deque.tcc.

578 {
580 this->_M_impl._M_start._M_cur);
581 _M_deallocate_node(this->_M_impl._M_start._M_first);
582 this->_M_impl._M_start._M_set_node(this->_M_impl._M_start._M_node + 1);
583 this->_M_impl._M_start._M_cur = this->_M_impl._M_start._M_first;
584 }
void _M_deallocate_node(_Ptr __p) noexcept
Definition stl_deque.h:590
_Deque_impl _M_impl
Definition stl_deque.h:616
_Tp_alloc_type & _M_get_Tp_allocator() noexcept
Definition stl_deque.h:571
static constexpr std::__enable_if_t< __is_custom_pointer< _Ptr >::value > destroy(_Tp_alloc_type &__a, _Ptr __p) noexcept(noexcept(_Base_type::destroy(__a, std::__to_address(__p))))

References deque(), _M_deallocate_node(), _M_get_Tp_allocator(), _M_impl, and __gnu_cxx::__alloc_traits< _Tp_alloc_type >::destroy().

Here is the call graph for this function: