From: Edward Diener (eddielee_at_[hidden])
Date: 2005-06-02 20:47:15
Maksym Motornyy wrote:
> Hi all,
> As of version 2.0 C# will have yield statement. It intended for
> simplifying iterator development. Yield suspends execution of iterator
> code and resumes it on next increment. Thus complex traversal iterators
> are much easier to write in natural loop-like form instead of unroll them.
Nicely stolen from Python <g>.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk