Coroutines in C++

For the last few months I've been intrigued by the coroutines in C++. This feature is something I always wanted to have in C++ since I saw it in action in Unity. I've already implemented them in my Enhanced Code Flow for Unreal Engine in order to have my desired "Delay" function in code. However, it wasn't so easy to understand how to implement them. The official cpp reference is a great source of knowledge, but it's difficult to learn the basics from it. This is why I decided to write a document which should introduce more newby-friendly approach of learning about them.

I've just published the C++20 coroutine samples, which is a collaborative document that aims to help to understand what are the coroutines, how to write them in C++ and when they are useful.

Because it's on GitHub you are all invited to write Issues and Pull requests with any fixes and suggestions on how to improve this document and samples.

Cheers <3