Boost logo

Boost :

Subject: Re: [boost] [context] review
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-03-27 09:03:27


On Mar 27, 2011, at 8:48 AM, Gordon Woodhull wrote:
> I ended up having to wrap contexts up in shared_ptrs in order to get my example to work

Of course, looking at the examples, I realize I didn't actually have to do this, a simple forward declaration would have done the trick.

It does look like Coroutine's yield() nicely avoids the problem of each function having to know the other's context.


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