Iros
Loading...
Searching...
No Matches
await_suspend_result.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/meta/core.h
"
4
#include "
di/util/coroutine.h
"
5
6
namespace
di::concepts
{
7
// The result of await_suspend() can either be void, a bool, or a coroutine handle.
8
template
<
typename
T>
9
concept
AwaitSuspendResult
=
concepts::OneOf<T, void, bool>
||
concepts::InstanceOf<T, std::coroutine_handle>
;
10
}
di::concepts::AwaitSuspendResult
Definition
await_suspend_result.h:9
di::concepts::InstanceOf
Definition
core.h:139
di::concepts::OneOf
Definition
core.h:117
core.h
coroutine.h
di::concepts
Definition
any_storable.h:9
libs
di
include
di
execution
concepts
await_suspend_result.h
Generated by
1.13.0