Namespaces
Variants
Actions

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

From cppreference.com
 
 
Memory management library
(exposition only*)
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage(until C++20)
(until C++20*)
(until C++20*)
Garbage collector support(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)
(C++11)(until C++23)
 
 
std::pmr::memory_resource* resource()const;
(since C++17)

Returns the memory resource pointer used by this polymorphic allocator.

[edit]Parameters

(none)

[edit]Return value

The memory resource pointer used by this polymorphic allocator.

close