Boost logo

Boost :

Subject: Re: [boost] [yield_iterator] new iterator lib with C# yield return/yield break
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2011-06-21 01:19:00


yield_adapter contains a context object which handles register and stack swapping. The stack is stored in the context object too.
boost.context could be used as the base of a coroutine implementation (becuase it is more low-level).

Oliver

-------- Original-Nachricht --------
> Datum: Tue, 21 Jun 2011 00:51:32 +0200
> Von: Mathias Gaunard <mathias.gaunard_at_[hidden]>
> An: boost_at_[hidden]
> Betreff: Re: [boost] [yield_iterator] new iterator lib with C# yield return/yield break

> On 20/06/2011 20:15, Oliver Kowalke wrote:
> > I've uploaded a new lib 'yield_iterator'
> > [...]
> > The library contains a example iterating over a tree via visitor pattern
> > an yield_iterator.
> >
> > I hope I get some feedback.
>
> I've played a lot with coroutine-based iterators.
>
> The interesting stuff is to be able to build an input iterator from an
> output iterator.
>
> I didn't really look at what you did but I'm interested in knowing where
> you store the stack.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone

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