Boost logo

Boost :

Subject: [boost] [coroutine] final version?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-10-17 14:07:13

a final (?) version of boost.coroutine is available at

In contrast to the original concept coroutine<> is not similar to a

1.) the coroutine-fn is started at construction of coroutine<>
      - helps to solve some problems related to the last 'yield'-operation
      - similar to the behaviour of boost::thread
      - arguments which have to be the first arguments of coroutine-fn
must be applied to coroutine<>-ctor (arguments())

2.) coroutine<>::operator() returns a reference to the coroutine instead
the return-value

3.) return-values must be accessed via coroutine<>::get()


Boost list run by bdawes at, gregod at, cpdaniel at, john at