|
Boost : |
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-07 10:41:03
Daryle Walker wrote:
>
> Looking at the (beginning of the) "(infinite) sequences using recurrence
> relations" thread, I guess we need an iterating generator concept. It's a
> generator with an iterator interface.
>
> operator *() gets the current element, possibly from a cache
> operator ++() goes to the next element
> Optionally, operator --() could go to the previous element
?? But that is just the idea of an iterator in the first place.
What am I missing?
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk