Re:C++20 coroutines: “The bug is in the C++ standard, not GC...
by grogers on Tuesday October 04, 2022 @06:32PM
(#33088020)
Alternatively, you can pass the things you would have captured instead as arguments to the lambda (by value!) and they are valid for the duration of the coroutine. So you can do a lambda returning a coroutine lambda like
[ Parent
| on HN ]
There are no comments on this comment yet.