
24 Jul
2011
24 Jul
'11
2:04 p.m.
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.