Immediately Invoked Coroutine Lambdas in C++23 - Lifetime Pitfalls & Best Practices Jonathan Müller

ACCU Conference · 5:20

In C++, an immediately invoked coroutine lambda that captures variables is undefined behavior and will usually crash. The coroutine frame copies only the lambda's this pointer, not the lambda object with its captures,...

Read the full summary on tuber

Redirecting...