Date: Mon, 18 Aug 2025 08:09:09 +0200
Hi Jan,
I quickly skimmed through your proposal and I’m not entirely sure how the comma works for the two ‘new’ cases. What does the comma in new-placement and new-initializer actually do? (I’ve never actually seen this case and didn’t know it was possible.) Maybe I’m missing something, but I would expect that in these two cases it is the comma operator/a sequence point. If I’m right this shouldn’t be included in the list. Could you provide a small example that explains what exactly the comma does in these two cases?
Thanks,
Simon
> On Aug 18, 2025, at 6:35 AM, Jan Schultke via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> Hi Ungureanu,
>
> I intend to publish a proposal for trailing commas in template
> arguments and function arguments for the September mailing. You can
> co-author if you want to.
>
> See issue tracking for this here:
> https://github.com/Eisenwave/cpp-proposals/issues/46
>
> See a rough draft of the proposal here:
> https://gist.github.com/eisenwave/6ff9c4d605095588066744e8da7eb99e
>
> I agree with Jeremy that your motivation isn't sufficient, but there's
> plenty more. I'm not convinced of the partial parsing argument at all
> though.
>
>
> Yours
> Jan
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
I quickly skimmed through your proposal and I’m not entirely sure how the comma works for the two ‘new’ cases. What does the comma in new-placement and new-initializer actually do? (I’ve never actually seen this case and didn’t know it was possible.) Maybe I’m missing something, but I would expect that in these two cases it is the comma operator/a sequence point. If I’m right this shouldn’t be included in the list. Could you provide a small example that explains what exactly the comma does in these two cases?
Thanks,
Simon
> On Aug 18, 2025, at 6:35 AM, Jan Schultke via Std-Proposals <std-proposals_at_[hidden]> wrote:
>
> Hi Ungureanu,
>
> I intend to publish a proposal for trailing commas in template
> arguments and function arguments for the September mailing. You can
> co-author if you want to.
>
> See issue tracking for this here:
> https://github.com/Eisenwave/cpp-proposals/issues/46
>
> See a rough draft of the proposal here:
> https://gist.github.com/eisenwave/6ff9c4d605095588066744e8da7eb99e
>
> I agree with Jeremy that your motivation isn't sufficient, but there's
> plenty more. I'm not convinced of the partial parsing argument at all
> though.
>
>
> Yours
> Jan
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
Received on 2025-08-18 06:09:25