Re: [PATCH] coroutines: Update lambda capture handling to n4849.

2020-03-02 Thread JunMa
在 2020/3/2 下午5:43, Iain Sandoe 写道: Hi, In the absence of specific comment on the handling of closures I'd implemented something more than was intended (extending the lifetime of lambda capture-by-copy vars to the duration of the coro). After discussion at WG21 in February and by email, the corr

Re: [PATCH] coroutines: Update lambda capture handling to n4849.

2020-03-02 Thread Nathan Sidwell
On 3/2/20 4:43 AM, Iain Sandoe wrote: Hi, In the absence of specific comment on the handling of closures I'd implemented something more than was intended (extending the lifetime of lambda capture-by-copy vars to the duration of the coro). After discussion at WG21 in February and by email, the c