std::pmr::unsynchronized_pool_resource::upstream_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* upstream_resource() const;
(since C++17)

Returns a pointer to the upstream memory resource. This is the same value as the upstream argument passed to the constructor of this object.

See also

constructs an unsynchronized_pool_resource
(public member function)