di 0.1.0
Loading...
Searching...
No Matches
completion_signature.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace di::concepts {
8namespace detail {
9 template<typename T>
10 constexpr inline bool is_completion_signature = false;
11
12 template<typename... Args>
13 constexpr inline bool is_completion_signature<execution::SetValue(Args...)> = true;
14
15 template<typename Arg>
16 constexpr inline bool is_completion_signature<execution::SetError(Arg)> = true;
17
18 template<>
19 constexpr inline bool is_completion_signature<execution::SetStopped()> = true;
20}
21
22template<typename T>
23concept CompletionSignature = detail::is_completion_signature<T>;
24}
Definition completion_signature.h:23
Definition any_storable.h:9