.TH "__gnu_cxx::debug_allocator< _Alloc >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::debug_allocator< _Alloc > \- A meta-allocator with debugging bits\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Traits::const_pointer \fBconst_pointer\fP" .br .ti -1c .RI "typedef _Traits::const_reference \fBconst_reference\fP" .br .ti -1c .RI "typedef _Traits::difference_type \fBdifference_type\fP" .br .ti -1c .RI "typedef \fB_Traits::pointer\fP \fBpointer\fP" .br .ti -1c .RI "typedef _Traits::reference \fBreference\fP" .br .ti -1c .RI "typedef _Traits::size_type \fBsize_type\fP" .br .ti -1c .RI "typedef _Traits::value_type \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBdebug_allocator\fP (const _Alloc &__a)" .br .ti -1c .RI "template \fBdebug_allocator\fP (const \fBdebug_allocator\fP< _Alloc2 > &__a2, typename __convertible< _Alloc2 >::__type=0)" .br .ti -1c .RI "_GLIBCXX_NODISCARD \fBpointer\fP \fBallocate\fP (size_type __n)" .br .ti -1c .RI "_GLIBCXX_NODISCARD \fBpointer\fP \fBallocate\fP (size_type __n, const void *__hint)" .br .ti -1c .RI "template void \fBconstruct\fP (_Tp *__p, _Args &&\&.\&.\&. __args)" .br .ti -1c .RI "void \fBconstruct\fP (\fBpointer\fP __p, const value_type &__val)" .br .ti -1c .RI "void \fBdeallocate\fP (\fBpointer\fP __p, size_type __n)" .br .ti -1c .RI "template void \fBdestroy\fP (_Tp *__p)" .br .ti -1c .RI "size_type \fBmax_size\fP () const throw ()" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template bool \fBoperator!=\fP (const \fBdebug_allocator\fP &__lhs, const \fBdebug_allocator\fP< _Alloc2 > &__rhs) noexcept" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBdebug_allocator\fP &__lhs, const \fBdebug_allocator\fP< _Alloc2 > &__rhs) noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_cxx::debug_allocator< _Alloc >"A meta-allocator with debugging bits\&. This is precisely the allocator defined in the C++03 Standard\&. .PP Definition at line \fB62\fP of file \fBdebug_allocator\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _Traits::const_pointer \fB__gnu_cxx::debug_allocator\fP< _Alloc >::const_pointer" .PP Definition at line \fB72\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef _Traits::const_reference \fB__gnu_cxx::debug_allocator\fP< _Alloc >::const_reference" .PP Definition at line \fB74\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef _Traits::difference_type \fB__gnu_cxx::debug_allocator\fP< _Alloc >::difference_type" .PP Definition at line \fB70\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef \fB_Traits::pointer\fP \fB__gnu_cxx::debug_allocator\fP< _Alloc >::pointer" .PP Definition at line \fB71\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef _Traits::reference \fB__gnu_cxx::debug_allocator\fP< _Alloc >::reference" .PP Definition at line \fB73\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef _Traits::size_type \fB__gnu_cxx::debug_allocator\fP< _Alloc >::size_type" .PP Definition at line \fB69\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template typedef _Traits::value_type \fB__gnu_cxx::debug_allocator\fP< _Alloc >::value_type" .PP Definition at line \fB75\fP of file \fBdebug_allocator\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fB__gnu_cxx::debug_allocator\fP< _Alloc >::debug_allocator ()\fC [inline]\fP" .PP Definition at line \fB111\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template template \fB__gnu_cxx::debug_allocator\fP< _Alloc >::debug_allocator (const \fBdebug_allocator\fP< _Alloc2 > & __a2, typename __convertible< _Alloc2 >::__type = \fC0\fP)\fC [inline]\fP" .PP Definition at line \fB114\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template \fB__gnu_cxx::debug_allocator\fP< _Alloc >::debug_allocator (const _Alloc & __a)\fC [inline]\fP" .PP Definition at line \fB118\fP of file \fBdebug_allocator\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "template _GLIBCXX_NODISCARD \fBpointer\fP \fB__gnu_cxx::debug_allocator\fP< _Alloc >::allocate (size_type __n)\fC [inline]\fP" .PP Definition at line \fB122\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template _GLIBCXX_NODISCARD \fBpointer\fP \fB__gnu_cxx::debug_allocator\fP< _Alloc >::allocate (size_type __n, const void * __hint)\fC [inline]\fP" .PP Definition at line \fB131\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template template void \fB__gnu_cxx::debug_allocator\fP< _Alloc >::construct (_Tp * __p, _Args &&\&.\&.\&. __args)\fC [inline]\fP" .PP Definition at line \fB161\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::debug_allocator\fP< _Alloc >::construct (\fBpointer\fP __p, const value_type & __val)\fC [inline]\fP" .PP Definition at line \fB155\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template void \fB__gnu_cxx::debug_allocator\fP< _Alloc >::deallocate (\fBpointer\fP __p, size_type __n)\fC [inline]\fP" .PP Definition at line \fB140\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template template void \fB__gnu_cxx::debug_allocator\fP< _Alloc >::destroy (_Tp * __p)\fC [inline]\fP" .PP Definition at line \fB170\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template size_type \fB__gnu_cxx::debug_allocator\fP< _Alloc >::max_size () const\fC [inline]\fP" .PP Definition at line \fB174\fP of file \fBdebug_allocator\&.h\fP\&. .SH "Friends And Related Symbol Documentation" .PP .SS "template template friend class \fBdebug_allocator\fP\fC [friend]\fP" .PP Definition at line \fB64\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template template bool operator!= (const \fBdebug_allocator\fP< _Alloc > & __lhs, const \fBdebug_allocator\fP< _Alloc2 > & __rhs)\fC [friend]\fP" .PP Definition at line \fB185\fP of file \fBdebug_allocator\&.h\fP\&. .SS "template template bool operator== (const \fBdebug_allocator\fP< _Alloc > & __lhs, const \fBdebug_allocator\fP< _Alloc2 > & __rhs)\fC [friend]\fP" .PP Definition at line \fB179\fP of file \fBdebug_allocator\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.