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

From cppreference.com
 
 
Dynamic memory management
Smart pointers
(C++11)
(C++11)
(C++11)
(until C++17)
(C++11)
Allocators
Memory resources
Uninitialized storage
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
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.