##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::pmr::monotonic_buffer_resource::upstream_resource

From cppreference.com
< cpp‎ | experimental‎ | monotonic buffer resource

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.

### [edit] See also

(constructor) | Constructs a `monotonic_buffer_resource` (public member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/monotonic_buffer_resource/upstream_resource&oldid=84340"