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

From cppreference.com
 
 
Dynamic memory management
Uninitialized storage
(C++17)
Garbage collection support
Miscellaneous
(C++20)
(C++11)
(C++11)
C Library
Low level memory management
 
 
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.