.TH "std::_Deque_base< _Tp, _Alloc >" 3cxx "Wed Jul 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::_Deque_base< _Tp, _Alloc > .SH SYNOPSIS .br .PP .SS "Protected Types" .in +1c .ti -1c .RI "enum { \fB_S_initial_map_size\fP }" .br .ti -1c .RI "typedef \fB__gnu_cxx::__alloc_traits\fP< _Tp_alloc_type > \fB_Alloc_traits\fP" .br .ti -1c .RI "typedef \fB__gnu_cxx::__alloc_traits\fP< _Map_alloc_type > \fB_Map_alloc_traits\fP" .br .ti -1c .RI "typedef _Alloc_traits::template rebind< _Ptr >::other \fB_Map_alloc_type\fP" .br .ti -1c .RI "typedef iterator::_Map_pointer \fB_Map_pointer\fP" .br .ti -1c .RI "typedef _Alloc_traits::pointer \fB_Ptr\fP" .br .ti -1c .RI "typedef _Alloc_traits::const_pointer \fB_Ptr_const\fP" .br .ti -1c .RI "typedef \fB__gnu_cxx::__alloc_traits\fP< _Alloc >::template rebind< _Tp >::other \fB_Tp_alloc_type\fP" .br .ti -1c .RI "typedef _Alloc \fBallocator_type\fP" .br .ti -1c .RI "typedef \fB_Deque_iterator\fP< _Tp, const _Tp &, _Ptr_const > \fBconst_iterator\fP" .br .ti -1c .RI "typedef \fB_Deque_iterator\fP< _Tp, _Tp &, _Ptr > \fBiterator\fP" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fB_Deque_base\fP (\fB_Deque_base\fP &&__x)" .br .ti -1c .RI "\fB_Deque_base\fP (\fB_Deque_base\fP &&__x, const allocator_type &__a)" .br .ti -1c .RI "\fB_Deque_base\fP (\fB_Deque_base\fP &&__x, const allocator_type &__a, size_t __n)" .br .ti -1c .RI "\fB_Deque_base\fP (const allocator_type &__a)" .br .ti -1c .RI "\fB_Deque_base\fP (const allocator_type &__a, size_t __num_elements)" .br .ti -1c .RI "\fB_Deque_base\fP (size_t __num_elements)" .br .ti -1c .RI "_Map_pointer \fB_M_allocate_map\fP (size_t __n)" .br .ti -1c .RI "_Ptr \fB_M_allocate_node\fP ()" .br .ti -1c .RI "void \fB_M_create_nodes\fP (_Map_pointer __nstart, _Map_pointer __nfinish)" .br .ti -1c .RI "void \fB_M_deallocate_map\fP (_Map_pointer __p, size_t __n) noexcept" .br .ti -1c .RI "void \fB_M_deallocate_node\fP (_Ptr __p) noexcept" .br .ti -1c .RI "void \fB_M_destroy_nodes\fP (_Map_pointer __nstart, _Map_pointer __nfinish) noexcept" .br .ti -1c .RI "_Map_alloc_type \fB_M_get_map_allocator\fP () const noexcept" .br .ti -1c .RI "const _Tp_alloc_type & \fB_M_get_Tp_allocator\fP () const noexcept" .br .ti -1c .RI "_Tp_alloc_type & \fB_M_get_Tp_allocator\fP () noexcept" .br .ti -1c .RI "void \fB_M_initialize_map\fP (size_t)" .br .RI "Layout storage\&. " .ti -1c .RI "allocator_type \fBget_allocator\fP () const noexcept" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "_Deque_impl \fB_M_impl\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::_Deque_base< _Tp, _Alloc >" Deque base class\&. This class provides the unified face for deque's allocation\&. This class's constructor and destructor allocate and deallocate (but do not initialize) storage\&. This makes exception safety easier\&. .PP Nothing in this class ever constructs or destroys an actual Tp element\&. (Deque handles that itself\&.) Only/All memory management is performed here\&. .PP Definition at line 408 of file stl_deque\&.h\&. .SH "Member Function Documentation" .PP .SS "template void \fBstd::_Deque_base\fP< _Tp, _Alloc >::_M_initialize_map (size_t __num_elements)\fC [protected]\fP" .PP Layout storage\&. .PP \fBParameters\fP .RS 4 \fI__num_elements\fP The count of T's for which to allocate space at first\&. .RE .PP \fBReturns\fP .RS 4 Nothing\&. .RE .PP The initial underlying memory layout is a bit complicated\&.\&.\&. .PP Definition at line 616 of file stl_deque\&.h\&. .PP References std::max()\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.