.TH "std::__new_allocator< _Tp >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::__new_allocator< _Tp > \- An allocator that uses global new, as per C++03 [20\&.4\&.1]\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBstd::allocator< value_type >\fP, \fB__gnu_cxx::new_allocator< _Tp >\fP, and \fBstd::allocator< _Tp >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "\fBtypedef\fP std::ptrdiff_t \fBdifference_type\fP" .br .ti -1c .RI "\fBtypedef\fP \fBstd::true_type\fP \fBpropagate_on_container_move_assignment\fP" .br .ti -1c .RI "\fBtypedef\fP std::size_t \fBsize_type\fP" .br .ti -1c .RI "\fBtypedef\fP _Tp \fBvalue_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "constexpr \fB__new_allocator\fP (const \fB__new_allocator\fP &) noexcept" .br .ti -1c .RI "template<\fBtypename\fP \fB_Tp1\fP > constexpr \fB__new_allocator\fP (const \fB__new_allocator\fP< \fB_Tp1\fP > &) noexcept" .br .ti -1c .RI "_Tp * \fBallocate\fP (size_type __n, const \fBvoid\fP *=\fBstatic_cast\fP< const \fBvoid\fP * >(0))" .br .ti -1c .RI "\fBvoid\fP \fBdeallocate\fP (_Tp *__p, size_type __n)" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "template<\fBtypename\fP _Up > constexpr bool \fBoperator==\fP (const \fB__new_allocator\fP &, const \fB__new_allocator\fP< _Up > &) noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP _Tp> .br class std::__new_allocator< _Tp >"An allocator that uses global new, as per C++03 [20\&.4\&.1]\&. This is precisely the allocator defined in the C++ Standard\&. .IP "\(bu" 2 all allocation calls operator new .IP "\(bu" 2 all deallocation calls operator delete .PP .PP \fBTemplate Parameters\fP .RS 4 \fI_Tp\fP Type of allocated object\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.