Re: [PATCH] coroutines : Do not accept throwing final await expressions [PR95616].

2021-03-05 Thread Iain Sandoe
Nathan Sidwell wrote: On 3/4/21 2:54 PM, Iain Sandoe wrote: Hi, From the PR: The wording of [dcl.fct.def.coroutine]/15 states: * The expression co_await promise.final_suspend() shall not be potentially-throwing ([except.spec]). See http://eel.is/c++draft/dcl.fct.def.coroutine#15 and http:/

Re: [PATCH] coroutines : Do not accept throwing final await expressions [PR95616].

2021-03-04 Thread Nathan Sidwell
On 3/4/21 2:54 PM, Iain Sandoe wrote: Hi, From the PR: The wording of [dcl.fct.def.coroutine]/15 states: * The expression co_await promise.final_suspend() shall not be potentially-throwing ([except.spec]). See http://eel.is/c++draft/dcl.fct.def.coroutine#15 and http://eel.is/c++draft/ex

[PATCH] coroutines : Do not accept throwing final await expressions [PR95616].

2021-03-04 Thread Iain Sandoe
Hi, >From the PR: The wording of [dcl.fct.def.coroutine]/15 states: * The expression co_await promise.final_suspend() shall not be potentially-throwing ([except.spec]). See http://eel.is/c++draft/dcl.fct.def.coroutine#15 and http://eel.is/c++draft/except.spec#6 ie. all of the following must