.TH "__gnu_cxx::__detail::__mini_vector< _Tp >" 3cxx "Sun Jan 8 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::__detail::__mini_vector< _Tp > \- __mini_vector<> is a stripped down version of the full-fledged std::vector<>\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef const _Tp & \fBconst_reference\fP" .br .ti -1c .RI "typedef std::ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "typedef pointer \fBiterator\fP" .br .ti -1c .RI "typedef _Tp * \fBpointer\fP" .br .ti -1c .RI "typedef _Tp & \fBreference\fP" .br .ti -1c .RI "typedef std::size_t \fBsize_type\fP" .br .ti -1c .RI "typedef _Tp \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "reference \fBback\fP () const throw ()" .br .ti -1c .RI "iterator \fBbegin\fP () const throw ()" .br .ti -1c .RI "void \fBclear\fP () throw ()" .br .ti -1c .RI "iterator \fBend\fP () const throw ()" .br .ti -1c .RI "void \fBerase\fP (iterator __pos) throw ()" .br .ti -1c .RI "void \fBinsert\fP (iterator __pos, const_reference __x)" .br .ti -1c .RI "reference \fBoperator[]\fP (const size_type __pos) const throw ()" .br .ti -1c .RI "void \fBpop_back\fP () throw ()" .br .ti -1c .RI "void \fBpush_back\fP (const_reference __x)" .br .ti -1c .RI "size_type \fBsize\fP () const throw ()" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_cxx::__detail::__mini_vector< _Tp >"__mini_vector<> is a stripped down version of the full-fledged std::vector<>\&. It is to be used only for built-in types or PODs\&. Notable differences are: .PP .IP "1." 4 Not all accessor functions are present\&. .IP "2." 4 Used ONLY for PODs\&. .IP "3." 4 No Allocator template argument\&. Uses operator new() to get memory, and operator delete() to free it\&. Caveat: The dtor does NOT free the memory allocated, so this a memory-leaking vector! .PP .PP Definition at line \fB67\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef const _Tp& \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::const_reference" .PP Definition at line \fB76\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef std::ptrdiff_t \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::difference_type" .PP Definition at line \fB78\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef pointer \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::iterator" .PP Definition at line \fB79\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef _Tp* \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::pointer" .PP Definition at line \fB74\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef _Tp& \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::reference" .PP Definition at line \fB75\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef std::size_t \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::size_type" .PP Definition at line \fB77\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template typedef _Tp \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::value_type" .PP Definition at line \fB73\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::__mini_vector ()\fC [inline]\fP" .PP Definition at line \fB103\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "template reference \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::back () const\fC [inline]\fP" .PP Definition at line \fB119\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template iterator \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::begin () const\fC [inline]\fP" .PP Definition at line \fB111\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::clear ()\fC [inline]\fP" .PP Definition at line \fB149\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template iterator \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::end () const\fC [inline]\fP" .PP Definition at line \fB115\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::erase (iterator __pos)" .PP Definition at line \fB200\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::insert (iterator __pos, const_reference __x)" .PP Definition at line \fB155\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template reference \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::operator[] (const size_type __pos) const\fC [inline]\fP" .PP Definition at line \fB123\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::pop_back ()\fC [inline]\fP" .PP Definition at line \fB142\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::push_back (const_reference __x)\fC [inline]\fP" .PP Definition at line \fB130\fP of file \fBbitmap_allocator\&.h\fP\&. .SS "template size_type \fB__gnu_cxx::__detail::__mini_vector\fP< _Tp >::size () const\fC [inline]\fP" .PP Definition at line \fB107\fP of file \fBbitmap_allocator\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.