#include <memory_resource>
PublicTypesusingvalue_type = _Tp
PublicMemberFunctionspolymorphic_allocator (const polymorphic_allocator &__other)=default
template<typename _Up > polymorphic_allocator (const polymorphic_allocator< _Up > &__x) noexcept
polymorphic_allocator (memory_resource *__r) noexcept
_Tp * allocate (size_t __n)
void * allocate_bytes (size_t __nbytes, size_t __alignment=alignof(max_align_t))
template<typename _Up > _Up * allocate_object (size_t __n=1)
template<typename_Tp1 , typename... _Args> voidconstruct (_Tp1 *__p, _Args &&... __args)
voiddeallocate (_Tp *__p, size_t __n) noexcept
voiddeallocate_bytes (void *__p, size_t __nbytes, size_t __alignment=alignof(max_align_t))
template<typename _Up > voiddeallocate_object (_Up *__p, size_t __n=1)
template<typename _Up > voiddelete_object (_Up *__p)
template<typename _Up > voiddestroy (_Up *__p)
template<typename _Up , typename... _CtorArgs> _Up * new_object (_CtorArgs &&... __ctor_args)
polymorphic_allocator & operator= (const polymorphic_allocator &)=deletememory_resource * resource () const noexcept
polymorphic_allocatorselect_on_container_copy_construction () const noexcept
Friends
bool operator== (const polymorphic_allocator &__a, const polymorphic_allocator &__b) noexcept