r/cpp • • Dec 18 '25

The Lambda Coroutine Fiasco

https://github.com/scylladb/seastar/blob/master/doc/lambda-coroutine-fiasco.md

It's amazing C++23's "deducing this" could solve the lambda coroutine issue, and eliminate the previous C++ voodoo.

44 Upvotes

22 comments sorted by

View all comments

Show parent comment

3

u/germandiago Dec 19 '25

I think this is way less intuitive than other forms of dangling.