
10 Sep
2012
10 Sep
'12
11:31 p.m.
Hi, just two minor additional comments: The example typedef boost::coro::coroutine< void(int) > coro_t; void f( coro_t::self_t & self, int i) { ... self.yield(); ... } coro_t c( boost::bind( f, _1) ); c( 7); doesn't compiles. It should be something like coro_t c( boost::bind( f, _1, _2) ); BTW, I don't see the need to use bind in this case coro_t c( f ); works as well. Could you remove the superfluous uses of bind in the documentation? Best, Vicente