W3cubDocs

/C++

std::pmr::monotonic_buffer_resource::upstream_resource

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)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/monotonic_buffer_resource/upstream_resource