C++ Logo

std-discussion

Advanced search

Re: QOL: trailing comma in template arguments

From: Jefferson Carpenter <jeffersoncarpenter2_at_[hidden]>
Date: Tue, 26 Jan 2021 10:56:48 +0000
On 1/26/2021 9:25 AM, Ville Voutilainen via Std-Discussion wrote:


>
> The usual feedback bit is to bring us a comprehensive package that
> looks at all of the cases where
> trailing commas should be allowed, not just a single tweak for one
> case where there's a comma-separated list.

It does seem to be not the most trivial change, since
template-argument-list is non-empty so the parser can just parse a
template-argument after the "<", and again after each ",".

Received on 2021-01-26 04:56:56