Re: [PATCH] coroutines : Convert await_ready () expressions to bool [PR99047].

2021-03-15 Thread Nathan Sidwell
On 3/14/21 8:29 PM, Iain Sandoe wrote: Hi The awaiter.await_ready() should be converted per [expr.await]/3 (3.6) await-ready is the expression e.await_ready(), contextually converted to bool. The conversion had been omitted, fixed as below, tested on x86_64-darwin, x86_64-linux-gnu, an

[PATCH] coroutines : Convert await_ready () expressions to bool [PR99047].

2021-03-14 Thread Iain Sandoe
Hi The awaiter.await_ready() should be converted per [expr.await]/3 (3.6) await-ready is the expression e.await_ready(), contextually converted to bool. The conversion had been omitted, fixed as below, tested on x86_64-darwin, x86_64-linux-gnu, and on cppcoro and folly/coroutines. OK for