std::experimental::promise::get_memory_resource

From cppreference.com
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Concepts (concepts TS)
Extensions for concurrency (concurrency TS)
 
 
 
std::experimental::pmr::memory_resource* get_memory_resource();
(library fundamentals TS)

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

[edit] Parameters

(none)

[edit] Return value

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

[edit] See also

constructs the promise object
(public member function)