
27 Mar
2011
27 Mar
'11
1:03 p.m.
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.