This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gengtype: conditional GTY ? (to add before GCC 6 release)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]