.TH "__gnu_cxx::malloc_allocator< _Tp >" 3cxx "Mon May 22 2017" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::malloc_allocator< _Tp > \- An allocator that uses malloc\&. .PP This is precisely the allocator defined in the C++ Standard\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "typedef const _Tp * \fBconst_pointer\fP" .br .ti -1c .RI "typedef const _Tp & \fBconst_reference\fP" .br .ti -1c .RI "typedef ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "typedef _Tp * \fBpointer\fP" .br .ti -1c .RI "typedef \fBstd::true_type\fP \fBpropagate_on_container_move_assignment\fP" .br .ti -1c .RI "typedef _Tp & \fBreference\fP" .br .ti -1c .RI "typedef 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 "\fBmalloc_allocator\fP (const \fBmalloc_allocator\fP &) noexcept" .br .ti -1c .RI "template \fBmalloc_allocator\fP (const \fBmalloc_allocator\fP< _Tp1 > &) noexcept" .br .ti -1c .RI "pointer \fBaddress\fP (reference __x) const noexcept" .br .ti -1c .RI "const_pointer \fBaddress\fP (const_reference __x) const noexcept" .br .ti -1c .RI "pointer \fBallocate\fP (size_type __n, const void *=0)" .br .ti -1c .RI "template void \fBconstruct\fP (_Up *__p, _Args &&\&.\&.\&. __args)" .br .ti -1c .RI "void \fBdeallocate\fP (pointer __p, size_type)" .br .ti -1c .RI "template void \fBdestroy\fP (_Up *__p)" .br .ti -1c .RI "size_type \fBmax_size\fP () const noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_cxx::malloc_allocator< _Tp >" An allocator that uses malloc\&. .PP This is precisely the allocator defined in the C++ Standard\&. .IP "\(bu" 2 all allocation calls malloc .IP "\(bu" 2 all deallocation calls free .PP .PP Definition at line 57 of file malloc_allocator\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.