SysTutorials

Linux Manual Pages › Section 3

stdpmrpolymorphic_allocatorresource(3)

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.