Nothing in this class ever constructs or destroys an actual Tp element. (Deque handles that itself.) Only/All memory management is performed here.
Definition at line 365 of file stl_deque.h.
void std::_Deque_base< _Tp, _Alloc >::_M_initialize_map | ( | size_t | __num_elements | ) | [protected] |
Layout storage.
num_elements | The count of T's for which to allocate space at first. |
Definition at line 497 of file stl_deque.h.
References std::__deque_buf_size(), std::_Deque_base< _Tp, _Alloc >::_M_allocate_map(), std::_Deque_base< _Tp, _Alloc >::_M_create_nodes(), std::_Deque_iterator< _Tp, _Ref, _Ptr >::_M_cur, std::_Deque_base< _Tp, _Alloc >::_M_deallocate_map(), std::_Deque_base< _Tp, _Alloc >::_Deque_impl::_M_finish, std::_Deque_iterator< _Tp, _Ref, _Ptr >::_M_first, std::_Deque_base< _Tp, _Alloc >::_M_impl, std::_Deque_base< _Tp, _Alloc >::_Deque_impl::_M_map, std::_Deque_base< _Tp, _Alloc >::_Deque_impl::_M_map_size, std::_Deque_iterator< _Tp, _Ref, _Ptr >::_M_set_node(), std::_Deque_base< _Tp, _Alloc >::_Deque_impl::_M_start, and std::max().
Referenced by std::deque< _Tp, _Alloc >::_M_initialize_dispatch(), and std::deque< _Tp, _Alloc >::_M_range_initialize().