tmp/tmpm6b8hshs/{from.md → to.md}
RENAMED
|
@@ -57,11 +57,11 @@ such that if `ArgTypes` is a parameter pack of types and if the
|
|
| 57 |
*qualified-id* `R::promise_type` is valid and denotes a type
|
| 58 |
[[temp.deduct]], then `coroutine_traits<R, ArgTypes...>` has the
|
| 59 |
following publicly accessible member:
|
| 60 |
|
| 61 |
``` cpp
|
| 62 |
-
using promise_type =
|
| 63 |
```
|
| 64 |
|
| 65 |
Otherwise, `coroutine_traits<R, ArgTypes...>` has no members.
|
| 66 |
|
| 67 |
Program-defined specializations of this template shall define a publicly
|
|
@@ -297,10 +297,12 @@ struct noop_coroutine_promise {};
|
|
| 297 |
The class `noop_coroutine_promise` defines the promise type for the
|
| 298 |
coroutine referred to by `noop_coroutine_handle` [[coroutine.syn]].
|
| 299 |
|
| 300 |
#### Class `coroutine_handle<noop_coroutine_promise>` <a id="coroutine.handle.noop">[[coroutine.handle.noop]]</a>
|
| 301 |
|
|
|
|
|
|
|
| 302 |
``` cpp
|
| 303 |
namespace std {
|
| 304 |
template<>
|
| 305 |
struct coroutine_handle<noop_coroutine_promise>
|
| 306 |
{
|
|
|
|
| 57 |
*qualified-id* `R::promise_type` is valid and denotes a type
|
| 58 |
[[temp.deduct]], then `coroutine_traits<R, ArgTypes...>` has the
|
| 59 |
following publicly accessible member:
|
| 60 |
|
| 61 |
``` cpp
|
| 62 |
+
using promise_type = R::promise_type;
|
| 63 |
```
|
| 64 |
|
| 65 |
Otherwise, `coroutine_traits<R, ArgTypes...>` has no members.
|
| 66 |
|
| 67 |
Program-defined specializations of this template shall define a publicly
|
|
|
|
| 297 |
The class `noop_coroutine_promise` defines the promise type for the
|
| 298 |
coroutine referred to by `noop_coroutine_handle` [[coroutine.syn]].
|
| 299 |
|
| 300 |
#### Class `coroutine_handle<noop_coroutine_promise>` <a id="coroutine.handle.noop">[[coroutine.handle.noop]]</a>
|
| 301 |
|
| 302 |
+
##### General <a id="coroutine.handle.noop.general">[[coroutine.handle.noop.general]]</a>
|
| 303 |
+
|
| 304 |
``` cpp
|
| 305 |
namespace std {
|
| 306 |
template<>
|
| 307 |
struct coroutine_handle<noop_coroutine_promise>
|
| 308 |
{
|