So far we have only seen some arguably simple uses of coroutines, mostly as generators and iterators. We have only scratched the surface of more advanced usage when we used generators to implement cooperative multitasking. In this section will now explore some more advanced usages, including and] as state machines. Finally we will learn to use Boost.Coroutine support for events and its integration with Boost.Asio.
|Copyright © 2006 Giovanni P. Deretta|