C++11 - coroutine

less than 1 minute read

The following article is showing a nice example how C++11 can support coroutine feature. C# has already supported this feature from C# 2.0.

http://paoloseverini.wordpress.com/2014/06/09/generator-functions-in-c/

What is a coroutine? You can find details from the following Wikipedia.
http://en.wikipedia.org/wiki/Coroutine