Loading [MathJax]/extensions/tex2jax.js
Iros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
enable_sender.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/execution/concepts/is_awaitable.h
"
4
#include "
di/execution/coroutine/env_promise.h
"
5
#include "
di/execution/types/empty_env.h
"
6
7
namespace
di::execution
{
8
template
<
typename
S>
9
constexpr
inline
bool
enable_sender
=
requires
{
typename
S::is_sender; };
10
11
template
<concepts::IsAwaitable<EnvPromise<types::EmptyEnv>> S>
12
constexpr
inline
bool
enable_sender<S>
=
true
;
13
}
empty_env.h
env_promise.h
is_awaitable.h
di::execution
Definition
bulk.h:30
di::execution::enable_sender
constexpr bool enable_sender
Definition
enable_sender.h:9
libs
di
include
di
execution
interface
enable_sender.h
Generated by
1.13.0