cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

BG369 07.06.2.3 p6 Do not use await_suspend returning void in example #365

Closed wg21bot closed 4 years ago

wg21bot commented 5 years ago

(BG-local 3)

(Related to BG2) The code example uses the void-returning variant of await_suspend().

Proposed change: Change the return type of my_future::await_suspend() and awaiter::await_suspend() to coroutine_handle.

mihaylovm commented 5 years ago

This issue is related to BG049

jfbastien commented 4 years ago

Obsoleted by vote on https://github.com/cplusplus/nbballot/issues/48

jensmaurer commented 4 years ago

Rejected. There was no consensus to adopt this change.