From cppreference.com
std::pmr::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.