On 02/15/2016 06:34 PM, Michael Matz wrote:
> Hi,
>
> On Fri, 12 Feb 2016, Richard Biener wrote:
>
>>> What do you think about refactoring iterators in GCC 7?
>>
>> I think refactoring towards STL style iterators would be welcome. It
>> may be different for the actual instances though.
>
> Oh God, please, for the live of all kittens, no.
Well, 'begin', 'end', 'operator++' and 'operator!=' are, unfortunately,
hardwired into the core language (I mean, [stmt.ranged]/1).
If anything, implement
> and use a range idiom like in D.
>
Could you please elaborate on that?
>
> Ciao,
> Michael.
>
--
Regards,
Mikhail Maltsev