[Bug c++/95111] coroutines use-after-free with lambdas

ville.voutilainen at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu May 14 11:24:34 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95111

--- Comment #12 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
It sure seems to me that a coroutine lambda's captures should be copied to the
coroutine state. I don't think the standard says that anywhere.


More information about the Gcc-bugs mailing list