# std::experimental::pmr::synchronized_pool_resource::upstream_resource

> C++ Atlas: `cppatlas.com/w/cpp/experimental/synchronized_pool_resource/upstream_resource` | Source: https://en.cppreference.com/w/cpp/experimental/synchronized_pool_resource/upstream_resource | Domain: Technical specifications

Returns a pointer to the upstream memory resource. This is the same value as the upstream argument passed to the constructor of this object.

## Official Specification Summary (cppreference)

```cpp
memory_resource* upstream_resource() const; // (library fundamentals TS)
```

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)](https://en.cppreference.com/w/cpp/experimental/synchronized_pool_resource/synchronized_pool_resource): constructs a `synchronized_pool_resource` (public member function)

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/synchronized_pool_resource/upstream_resource (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.