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

From cppreference.com
 
 
Dynamic memory management
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Allocators
Garbage collection support
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)



 
 
std::pmr::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.