
24 Jul
2011
24 Jul
'11
2:02 p.m.
On 07/24/2011 03:41 PM, Neil Groves wrote:
How do you imagine the const / mutable underlying iterator would be chosen? If you are proposing that the const-ness of the sub_range template parameter is used, I think that this would break to much existing code. The current semantics have been in place since at least version 1.33.
I doubt it would break much code if something that was a const_iterator previously is now an iterator, since an iterator is usually convertible to its const version.