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* (library fundamentals
get_memory_resource() 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)

2022.07.31 http://cppreference.com