cpp / latest / memory / unsynchronized_pool_resource / upstream_resource.html /

std::pmr::unsynchronized_pool_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 unsynchronized_pool_resource
(public member function)

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