File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =' 1.0' encoding =' utf-8' standalone =' no' ?>
2+ <!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+ <issue num =" 4202" status =" New" >
5+ <title ><i ><code >enable-sender</code ></i > should be a variable template</title >
6+ <section ><sref ref =" [exec.snd.concepts]" /></section >
7+ <submitter >Eric Niebler</submitter >
8+ <date >03 Feb 2025</date >
9+ <priority >99</priority >
10+
11+ <discussion >
12+ <p >
13+ Imported from <a href =" https://github.com/cplusplus/sender-receiver/issues/305" >cplusplus/sender-receiver #305</a >.
14+ </p >
15+ <p >
16+ We require an opt-in to satisfy the `sender` concept.
17+ Making your type awaitable with an empty environment is one way to opt in.
18+ If your awaitable requires an environment, you have two options:
19+ <ul >
20+ <li >give your awaitable type a nested `sender_concept` typedef, or</li >
21+ <li >specialize `enable_sender` for your awaitable type.</li >
22+ </ul >
23+ The problem is that somewhere along the way,
24+ the `enable_sender` variable template was turned into
25+ an exposition-only <i ><code >enable-sender</code ></i > concept.
26+ We should roll back that change.
27+ </p >
28+ </discussion >
29+
30+ <resolution >
31+ <p >
32+ </p >
33+ </resolution >
34+
35+ </issue >
You can’t perform that action at this time.
0 commit comments