std::experimental::function<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) (removed in library fundamentals TS v3)

# Return value

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

# See also