.TH "std::pmr::polymorphic_allocator< _Tp >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::pmr::polymorphic_allocator< _Tp > \- Class template polymorphic_allocator\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "using \fBvalue_type\fP = _Tp" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBpolymorphic_allocator\fP (const \fBpolymorphic_allocator\fP &__other)=default" .br .ti -1c .RI "template \fBpolymorphic_allocator\fP (const \fBpolymorphic_allocator\fP< _Up > &__x) noexcept" .br .ti -1c .RI "\fBpolymorphic_allocator\fP (\fBmemory_resource\fP *__r) noexcept" .br .ti -1c .RI "_Tp * \fBallocate\fP (size_t __n)" .br .ti -1c .RI "void * \fBallocate_bytes\fP (size_t __nbytes, size_t __alignment=alignof(max_align_t))" .br .ti -1c .RI "template _Up * \fBallocate_object\fP (size_t __n=1)" .br .ti -1c .RI "template void \fBconstruct\fP (_Tp1 *__p, _Args &&\&.\&.\&. __args)" .br .ti -1c .RI "void \fBdeallocate\fP (_Tp *__p, size_t __n) noexcept" .br .ti -1c .RI "void \fBdeallocate_bytes\fP (void *__p, size_t __nbytes, size_t __alignment=alignof(max_align_t))" .br .ti -1c .RI "template void \fBdeallocate_object\fP (_Up *__p, size_t __n=1)" .br .ti -1c .RI "template void \fBdelete_object\fP (_Up *__p)" .br .ti -1c .RI "template void \fBdestroy\fP (_Up *__p)" .br .ti -1c .RI "template _Up * \fBnew_object\fP (_CtorArgs &&\&.\&.\&. __ctor_args)" .br .ti -1c .RI "\fBpolymorphic_allocator\fP & \fBoperator=\fP (const \fBpolymorphic_allocator\fP &)=delete" .br .ti -1c .RI "\fBmemory_resource\fP * \fBresource\fP () const noexcept" .br .ti -1c .RI "\fBpolymorphic_allocator\fP \fBselect_on_container_copy_construction\fP () const noexcept" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "bool \fBoperator==\fP (const \fBpolymorphic_allocator\fP &__a, const \fBpolymorphic_allocator\fP &__b) noexcept" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class std::pmr::polymorphic_allocator< _Tp >"Class template polymorphic_allocator\&. .PP \fBSince\fP .RS 4 C++17 .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.