
11 Oct
2012
11 Oct
'12
12:44 p.m.
Also, the coroutine-fn is called immediately when the coroutine is called, and not deferred to the first operator() call.
I don't get it - when will be the body of coroutine-fn entered?
coro_t c( fn);//? or c(); //?
The first option.
what if the coroutine-fn expects some arguments? coroutine< int( string) > c( fn); c( "abc"); This would indicate that you have to block (jump back) inside coroutine-fn if you try to access an argument. Oliver