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

◆ _M_default_append()

template<typename _Tp, typename _Alloc>
void deque::_M_default_append ( size_type __n)
protected

Definition at line 350 of file deque.tcc.

352 {
353 if (__n)
354 {
356 __try
357 {
361 this->_M_impl._M_finish = __new_finish;
362 }
363 __catch(...)
364 {
365 _M_destroy_nodes(this->_M_impl._M_finish._M_node + 1,
366 __new_finish._M_node + 1);
368 }
369 }
370 }
#define __catch(X)
_Deque_impl _M_impl
Definition stl_deque.h:616
_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
iterator _M_reserve_elements_at_back(size_type __n)
Memory-handling helpers for the previous internal insert functions.
Definition stl_deque.h:2284
_Base::iterator iterator
Definition stl_deque.h:822
A standard container using fixed-size memory allocation and constant-time manipulation of elements at...
Definition stl_deque.h:792

References deque(), __catch, __throw_exception_again, __try, _M_destroy_nodes(), _M_get_Tp_allocator(), _M_impl, std::_Deque_iterator< _Tp, _Ref, _Ptr >::_M_node, and _M_reserve_elements_at_back().

Here is the call graph for this function: