Commit 5523d9a
applied the changes for P3552r3
I have applied some [I think editorial] changes compared to P3552r3:
- added with_error and change_coroutine_scheduler declarations to
the synopsis before task; they are in the detailed description but
not in the synopsis (possibly they should only be in the synopsis)
as there is no further description)
- inconsistent default template arguments for the ctor
in the class declaration (allocator<byte> and the later description
(allocator<void>); the wording consistently uses allocator<void>
- added "of the" to a sentence about the type of a completion datum:
"... defines the type *of the* value completion datum"
- the use of the template parameter of the nested type state is Rcvr
which has two problems:
1. the ctor also uses the name Rcvr for its template parameter
2. the class stores an object of type R which is the receiver
named rcvr
the most logic fix is to use Rcvr consistently for the state and
change the name for the ctor's parameter:
1. change the ctor template parameter type to use R
2. change the member to use Rcvr
3. change the type R used for the own-env-t to be
"...get_env(declval<Rcvr>())..."1 parent 1452231 commit 5523d9a
3 files changed
+910
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
1144 | | - | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1145 | 1149 | | |
1146 | 1150 | | |
1147 | 1151 | | |
| |||
0 commit comments