boost::capy::set_current_frame_allocator
Set the current frame allocator for this thread.
Synopsis
void
set_current_frame_allocator(std::pmr::memory_resource* mr) noexcept;
Description
Installs mr as the frame allocator that will be read by the next coroutine's promise_type::operator new on this thread. Only launch functions and IoAwaitable machinery should call this; see get_current_frame_allocator for the full protocol description.
Passing nullptr means "not specified" ‐ no particular allocator is established for the chain.
See Also
get_current_frame_allocator, IoAwaitable
Created with MrDocs