W3cubDocs

/C++

std::pmr::polymorphic_allocator<T>::resource

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

Returns the memory resource pointer used by this polymorphic allocator.

Parameters

(none).

Return value

The memory resource pointer used by this polymorphic allocator.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/memory/polymorphic_allocator/resource