boost::corosio::basic_io_context::get_frame_allocator

Return the memory resource used for coroutine frame allocation.

Synopsis

Declared in <boost/capy/ex/execution_context.hpp>

std::pmr::memory_resource*
get_frame_allocator() const noexcept;

Description

The returned pointer is valid for the lifetime of this context. By default, this returns a pointer to the recycling memory resource which pools frame allocations for reuse.

Return Value

Pointer to the frame allocator.

See Also

set_frame_allocator

Created with MrDocs