$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Formal Review: Boost.RangeEx
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2009-02-25 13:01:53
On Wed, Feb 25, 2009 at 6:53 PM, Thorsten Ottosen
<thorsten.ottosen_at_[hidden]> wrote:
>> Dear Giovanni,
>
>>
>>>> I had considered
>>>> creating a range adaptor to be highly different to applying an
>>>> algorithm,
>>>> perhaps I over-emphasised this distinction when making the decision.
>>>
>>> FWIW, I have code like this:
>>>
>>> total = ( r | filter(_r, f) | map(_r, m) | accumulate(_r, zero, a) );
>>>
>>> i.e. I don't have a strong distinction between adaptor and algorithms.
>
> Also, what does map(-) do?
just another name for transformed: returns a transform iterator range.
I just like the 'map' name better.
-- gpd