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

◆ _M_erase_at_end()

template<typename _Tp, typename _Alloc = std::allocator<_Tp>>
void std::deque< _Tp, _Alloc >::_M_erase_at_end ( iterator __pos)
inlineprotected

Definition at line 2248 of file stl_deque.h.

2249 {
2251 _M_destroy_nodes(__pos._M_node + 1,
2253 this->_M_impl._M_finish = __pos;
2254 }
_Map_pointer _M_node
Definition stl_deque.h:148
void _M_destroy_data(iterator __first, iterator __last, const _Alloc1 &)
Definition stl_deque.h:2225
_Deque_impl _M_impl
Definition stl_deque.h:616
iterator end() noexcept
Definition stl_deque.h:1232
_Tp_alloc_type & _M_get_Tp_allocator() noexcept
Definition stl_deque.h:571
void _M_destroy_nodes(_Map_pointer __nstart, _Map_pointer __nfinish) noexcept
Definition stl_deque.h:699
A standard container using fixed-size memory allocation and constant-time manipulation of elements at...
Definition stl_deque.h:792

Referenced by _M_assign_aux(), _M_erase(), and operator=().

Here is the caller graph for this function: