cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
coroutine usage
coroutine usage
Mar 13, 2017 at 1:56am UTC
Wu zhen hai
(112)
I have the following questions:
1)what is 'coroutine'?
2)'coroutine' purpose?
which advantages can 'coroutine' take?
3)some examples?
Mar 13, 2017 at 2:24am UTC
JLBorges
(13770)
Boost.Coroutine Introduction explains what coroutines are, why they are useful:
http://www.boost.org/doc/libs/1_63_0/libs/coroutine/doc/html/coroutine/intro.html
A real world example:
https://blogs.msdn.microsoft.com/vcblog/2017/02/02/using-ibuv-with-c-resumable-functions/
Visual Studio 2017 (with a minor keyword change, would also work in VS 2013, and VS 2015)
Topic archived. No new replies allowed.