Introduction to Coroutines
This lesson gives an overview of coroutines, predicted to be introduced in C++20.
We'll cover the following...
Coroutines are functions that can suspend and resume their execution while keeping their state. The evolution of functions goes one step further in C++20.
What I present in this section as a new idea in C++20 is actually quite old. The term coroutine was coined by Melvin Conway; He used it in his publication on compiler construction in 1963. Likewise, Donald Knuth called procedures a ...
Access this course and 1400+ top-rated courses and projects.