Boost logo

Boost :

Subject: Re: [boost] Lazy list
From: David Abrahams (dave_at_[hidden])
Date: 2009-01-18 14:17:43

on Sun Jan 18 2009, "Dean Michael Berris" <> wrote:

> On Sun, Jan 18, 2009 at 8:14 PM, Sebastian Redl
> <sebastian.redl_at_[hidden]> wrote:
> [snip]
>> Also, lazy lists are really an idiom from languages that are very
>> comfortable with lists, i.e. mostly functional languages (Haskell, for
>> example). The same idiom is, I believe, really not as practical in C++
>> and other imperative languages. Modern C++ uses iterator ranges as the
>> primary concept for generic handling of finite and infinite sequences,
>> and there already are function-backed input iterators. The second
>> concept used is input streams.
> There are already function-backed input iterators in Boost?
> I know there are function-backed output iterators, but not
> function-backed input iterators.

Dave Abrahams
BoostPro Computing

Boost list run by bdawes at, gregod at, cpdaniel at, john at