Scroll to navigation

std::experimental::promise::get_memory_resource(3) C++ Standard Libary std::experimental::promise::get_memory_resource(3)

NAME

std::experimental::promise::get_memory_resource - std::experimental::promise::get_memory_resource

Synopsis

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

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

Parameters

(none)

Return value

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

See also

constructor constructs the promise object
(public member function)

2026.11.10 http://cppreference.com