Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2003-05-13 14:58:53


"Aleksey Gurtovoy" <agurtovoy_at_[hidden]> wrote in message
news:CF8F119F73408C42957163F9B1A741E001D046_at_postoffice.office.meta...
> Alisdair Meredith wrote:
> > I see the range concept as being of tremendous value once we start
> > using iterator adapters more frequently.
>
> It is. Being able to directly pass the result of one sequence algorithm
> to another and to transform/filter it in the between is what functional
> programming with STL is about, and that's what you cannot do with the
> standard library containers/algorithms in their current form.

Mutating algorithms will be less flexible until the language support move
semantics since
we cannot use a temporary as argument.

But hey, your example shows it all :-)

-Thorsten


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