YOrch 1.0.0
Loading...
Searching...
No Matches
yorch::adapter_wrappable_task Concept Reference

Reports whether a task object exposes the raw execution protocol for a concrete exec_context. More...

#include <concepts.hpp>

Concept definition

template<typename Task, typename Ctx, typename Prev no_prev>
requires(Task& task, exec_context<Ctx, Prev>& ec) {
task.invoke_raw(ec);
} &&
Reports whether a task object exposes the raw execution protocol for a concrete exec_context.
Definition concepts.hpp:21
constexpr bool is_adapter_descriptor_v
Definition adapters.hpp:63
constexpr auto task(F &&f)
Definition core.hpp:207

Detailed Description

Reports whether a task object exposes the raw execution protocol for a concrete exec_context.

Unlike executable_task, this concept only checks structural invocability and does not require the wrapped task itself to be noexcept. It is used as the lower-level boundary shared by task adapters.

Template Parameters
TaskWrapped task type.
CtxContext schema.
PrevDirect-parent slot view type.

Definition at line 21 of file concepts.hpp.