std::experimental::packaged_task<R(Args...)>::get_memory_resource

Returns a pointer to the memory resource used by this object to allocate memory.

# Declarations

std::experimental::pmr::memory_resource* get_memory_resource() const noexcept;

(library fundamentals TS)

# Return value

A pointer to the memory resource used by this object to allocate memory.

# See also