
a final (?) version of boost.coroutine is available at http://ok73.ok.funpic.de/boost-coroutine.zip In contrast to the original concept coroutine<> is not similar to a function/functor. 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() regards, Oliver

On Wed, Oct 17, 2012 at 7:07 PM, Oliver Kowalke <oliver.kowalke@gmx.de> wrote:
a final (?) version of boost.coroutine is available at http://ok73.ok.funpic.de/boost-coroutine.zip
do you have github link to browse the code online? -- gpd

Am 17.10.2012 20:13, schrieb Giovanni Piero Deretta:
On Wed, Oct 17, 2012 at 7:07 PM, Oliver Kowalke <oliver.kowalke@gmx.de> wrote:
a final (?) version of boost.coroutine is available at http://ok73.ok.funpic.de/boost-coroutine.zip do you have github link to browse the code online?
gitorious.org/boost-dev/boost-dev/trees/coroutine-caller-void-pre - should work regards, Oliver
participants (2)
-
Giovanni Piero Deretta
-
Oliver Kowalke