4 ms·
See also Simon Tatham’s review https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/coroutines-c++20/ https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/c
by fanf2 3y ago
See also Simon Tatham’s review https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/coroutines-c++20/ https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/corou...
- downut 3y agoThank you for this pointer. I have been studying coroutines off and on for a while and my google/ddg foo is weak and did not find this. Or maybe google/ddg are getting weak. Sadness. I was using David Mazières' tutorial[1] but was still puzzled about the seemingly magical promise_type/coroutine_handle conversions that are nicely explained here. [1] https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html https://www.scs.stanford.edu/~dm/blog/c++-coroutines.html