This is the mail archive of the
mailing list for the GCC project.
Re: gengtype: conditional GTY ? (to add before GCC 6 release)
- From: Mikhail Maltsev <maltsevm at gmail dot com>
- To: Michael Matz <matz at suse dot de>, Richard Biener <richard dot guenther at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Tue, 16 Feb 2016 14:49:29 +0300
- Subject: Re: gengtype: conditional GTY ? (to add before GCC 6 release)
- Authentication-results: sourceware.org; auth=none
- References: <56BDCECE dot 60407 at starynkevitch dot net> <CAFiYyc2kT8H3NhRJEhSWfA+iGt8Ueq84=P8y8yX3pO7Q0nrrvg at mail dot gmail dot com> <56BDF265 dot 4070405 at gmail dot com> <DC829F7F-7881-44EA-9645-2DD70355CD72 at gmail dot com> <alpine dot LSU dot 2 dot 20 dot 1602151633400 dot 20277 at wotan dot suse dot de>
On 02/15/2016 06:34 PM, Michael Matz wrote:
> 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?