Sorry for that mistake! I fixed the last example. The post should make much more sense now.
38 karma · joined March 16, 2023
I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.
Just open the drop-down to select the C++ standard. Below, there is a section "More Transformations". Enable "Show coroutine transformation", and you will get the transformation you're looking for: https://cppinsights.io/s/4d8c3fc1
Disclaimer: I'm the author.