Declared in <bits/memory_resource.h>
<bits/memory_resource.h>
memory_resource* resource() const noexcept;