# std::pmr::unsynchronized_pool_resource::upstream_resource

From cppreference.com
< cpp‎ | memory‎ | unsynchronized pool 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

(constructor) | constructs an `unsynchronized_pool_resource` (public member function)

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/memory/unsynchronized_pool_resource/upstream_resource&oldid=155525"