My first take on C++ coroutines
In this post I’ll go through the disassembly (commented inline) of the following C++ snippet: #include <concepts> #include <coroutine> class task { public: class promise_type { public: class always_suspend {Continue reading