C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: QOL: trailing comma in template arguments
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2021-01-26 07:47:54


On Tue, 26 Jan 2021 at 15:38, Matthew Woehlke <mwoehlke.floss_at_[hidden]> wrote:
> > Sure, it's technically doable. But then again, why? To get nicer
> > diffs? At the cost of changing every C++ parser on the planet? That's
> > a *terrible* trade-off.
>
> ...and yet, it was considered worthwhile for enums.

That came from C99? I wouldn't go very far at using that as a guiding example.
But, well, that reminds me that a proposal in this area should
consider proposing
some of the changes to C as well.


STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups