Boost logo

Boost :

From: MB (mb2act_at_[hidden])
Date: 2006-02-01 06:37:14


Thorsten Ottosen wrote:
> MB wrote:
>
>>Thorsten Ottosen wrote:
>
>
>>>>>range_result_iterator is alive? If so, it's nice. :-)
>>>
>>>
>>>It's dead, sort of, or that was the intention. It's behavior is now
>>>modelled by range_iterator.
>>
>>
>>You mean all the customization way is deprecated?
>
>
> no, it has been renamed to range_iterator and the former range_iterator
> is now called mutable_iterator.

But, range_iterator has already been specialized by
range implementators.

>>Ideally, Boost.Range v2 is needed, which has all the range-style algorithms,
>>all the range adaptors, class-template-based customization using tag-dispatching,
>>supports also ADL customization, can play with Boost.IOStreams,
>>and throws away legacy compilers! :-)
>>
>> range::copy(file_rng|range::filtered(is_even()), out);
>
>
> Working on this an nearly done. Hopefully a short mini-review can be
> made so to put it in this release. The above would be wriiten (I think)
>
> namspace br = boost::ranges;
>
> br::copy( a_rng | br::filtered( is_even() ), out );

Nicely!
Range revolution has begun! :-)

I wonder why the current version that works enough
must be changed with pains, when you are making the new striking range library.

Regards,
MB


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