C++ Logo

std-discussion

Advanced search

Re: QOL: trailing comma in template arguments

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 26 Jan 2021 15:47:54 +0200
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.

Received on 2021-01-26 07:48:07