boost::capy::run

Bind a task to an executor with a memory resource.

Synopsis

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

template<Executor Ex>
[[nodiscard]]
auto
run(
    Ex ex,
    std::pmr::memory_resource* mr);

Return Value

A wrapper that accepts a task for execution.

Parameters

Name Description

ex

The executor on which the task should run.

mr

The memory resource for frame allocation.

Created with MrDocs