std::pmr::polymorphic_allocator<T>::resource (3) - Linux Manuals

std::pmr::polymorphic_allocator<T>::resource: std::pmr::polymorphic_allocator<T>::resource

NAME

std::pmr::polymorphic_allocator<T>::resource - std::pmr::polymorphic_allocator<T>::resource

Synopsis


memory_resource* resource() const; (since C++17)


Returns the memory resource pointer used by this polymorphic allocator.

Parameters


(none)

Return value


The memory resource pointer used by this polymorphic allocator.