std::pmr::unsynchronized_pool_resource::upstream_resource

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