Boost logo

Boost :

Subject: Re: [boost] [coroutine] Recommended documentation clarification
From: Jason Roehm (jasonr_at_[hidden])
Date: 2013-10-30 09:19:26


On 10/24/2013 11:40 AM, Oliver Kowalke wrote:
> the old version has some bugs and is therefore not recommended.
> Porting the code to the new interface isn't difficult:
> coroutine< void( T) > -> coroutine< T >::push_type
> coroutine< T() > -> coroutine< T >::pull_type
That makes a bit more sense; I didn't grasp that immediately from the
documentation. Should I take that to mean that a coroutine can no longer
both take in an argument and return a value (i.e. either the argument
list or return value must be void)?

Jason


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk