std::pmr::monotonic_buffer_resource::upstream_resource

From cppreference.com
 
 
Dynamic memory management
Uninitialized storage
(C++17)
Garbage collection support
Miscellaneous
(C++20)
(C++11)
(C++11)
C Library
Low level memory management
 
 
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 monotonic_buffer_resource
(public member function)