##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::pmr::polymorphic_allocator::resource

From cppreference.com
< cpp‎ | memory‎ | polymorphic allocator

memory_resource* resource() const; |  | (since C++17)

Returns the memory resource pointer used by this polymorphic allocator.

### [edit] Parameters

(none)

### [edit] Return value

The memory resource pointer used by this polymorphic allocator.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/polymorphic_allocator/resource&oldid=84219"