A more realistic coroutine--Kirit Sælensminde
What’s the point of coroutines?
A more realistic coroutine
by Kirit Sælensminde
From the article:
Having gotten something working, we still have a small problem. We have a coroutine that we can start, and we can choose when to suspend it, but we can't yet resume it.
The coroutines TS describes a class
std::experimental::coroutine_handle
which is our interface to the coroutine itself. It's a template which is supposed to be told the promise_type we're using...