Subject: Re: [boost] [range] Should ranges really propagate constess to the data ?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-24 10:04:50


On 07/24/2011 03:25 PM, Neil Groves wrote:
> and make the
> sub_range a very questionable abstraction since one would have to chose the
> const or mutable version of the Range iterator by an explicit means making
> it almost indistinguishable from iterator_range.

I thought that was the point of sub_range: to be the same as
iterator_range, except the template parameter it takes is a range rather
than an iterator, simplifying things when only ranges and not iterators
are involved.