std::pmr::new_delete_resource

Header: <memory_resource>

Returns a pointer to a memory_resource that uses the global operator new and operator delete to allocate memory.

# Declarations

std::pmr::memory_resource* new_delete_resource() noexcept;

(since C++17)

# Return value

Returns a pointer p to a static storage duration object of a type derived from std::pmr::memory_resource, with the following properties: