Boost logo

Boost :

Subject: Re: [boost] [Boost.Lambda] Some new features are suggested: return, iterating yield, & local var
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-01-06 07:06:09


On 01/06/2012 11:25 AM, Huang Huan wrote:
> None of local vars will be destructed after once yielding, Hold the
> stack object for next yielding call. How can I get this without
> virtual stack?

Use special instructions or OS-provided functions to save the context
and switch to another context.


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