Iros
Loading...
Searching...
No Matches
sender_to.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/execution/concepts/receiver_of.h
"
4
#include "
di/execution/concepts/sender_in.h
"
5
#include "
di/execution/interface/connect.h
"
6
#include "
di/execution/meta/completion_signatures_of.h
"
7
#include "
di/execution/meta/env_of.h
"
8
9
namespace
di::concepts
{
10
template
<
typename
Send,
typename
Recv>
11
concept
SenderTo
=
12
SenderIn<Send, meta::EnvOf<Recv>
> &&
ReceiverOf<Recv, meta::CompletionSignaturesOf<Send, meta::EnvOf<Recv>
>> &&
13
requires
(Send&& sender, Recv&& receiver) {
14
execution::connect
(util::forward<Send>(sender), util::forward<Recv>(receiver));
15
};
16
}
17
18
namespace
di
{
19
using
concepts::SenderTo
;
20
}
completion_signatures_of.h
di::concepts::ReceiverOf
Definition
receiver_of.h:25
di::concepts::SenderIn
Definition
sender_in.h:10
di::concepts::SenderTo
Definition
sender_to.h:11
connect.h
env_of.h
di::concepts
Definition
any_storable.h:9
di::execution::connect
constexpr auto connect
Definition
connect.h:42
di
Definition
zstring_parser.h:9
receiver_of.h
sender_in.h
libs
di
include
di
execution
concepts
sender_to.h
Generated by
1.13.0