Boost logo

Boost :

Subject: Re: [boost] [Review.Coroutine] More comments, questions and suggestions
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-09-10 19:31:09


just two minor additional comments:

The example

typedef boost::coro::coroutine< void(int) > coro_t;

void f( coro_t::self_t & self, int i)

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?


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