di 0.1.0
Loading...
Searching...
No Matches
start.h
Go to the documentation of this file.
1#pragma once
2
4#include "di/any/types/this.h"
6
7namespace di::execution {
8namespace detail {
9 struct StartFunction {
10 using Type = types::Method<StartFunction, void(types::This&)>;
11
12 template<typename OpState>
13 requires(concepts::TagInvocable<StartFunction, OpState&>)
14 constexpr auto operator()(OpState& op_state) const {
15 return function::tag_invoke(*this, op_state);
16 }
17 };
18}
19
20constexpr inline auto start = detail::StartFunction {};
21}
Definition bulk.h:30
constexpr auto start
Definition start.h:20
constexpr tag_invoke_detail::TagInvokeFn tag_invoke
Definition tag_invoke.h:22