Created on 2023-08-23.00:00:00 last changed 3 weeks ago
Change in 126.96.36.199 [expr.await] paragraph 1 as follows:
The co_await expression is used to suspend evaluation of a coroutine (9.5.4 [dcl.fct.def.coroutine]) while awaiting completion of the computation represented by the operand expression.
Change 8.7.4 [stmt.return] paragraph 1 as follows:
A function returns to its caller by the return statement.
Change 8.7.5 [stmt.return.coroutine] paragraph 1 as follows:
A coroutine returns to its caller or resumer (9.5.4 [dcl.fct.def.coroutine]) by the co_return statement or when suspended (188.8.131.52 [expr.await]).A coroutine shall not enclose a return statement (8.7.4 [stmt.return]).
Change in 9.5.4 [dcl.fct.def.coroutine] paragraph 10 as follows:
If the allocation function returns nullptr, the coroutine
returnscontrol to the caller of the coroutine and the return value is obtained by a call to T::get_return_object_on_allocation_failure(), where T is the promise type.
|2023-08-29 19:50:46||admin||set||messages: + msg7417|