boost::capy::run

Run a task with a custom memory resource.

Synopsis

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

[[nodiscard]]
auto
run(std::pmr::memory_resource* mr);

Description

The task inherits the caller's executor. The memory resource is used for nested frame allocations.

Return Value

A wrapper that accepts a task for execution.

Parameters

Name Description

mr

The memory resource for frame allocation.

Created with MrDocs