C++ Logo


Advanced search

Re: [std-proposals] Allow comma at the end of a list of objects in a declaration or definition

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sun, 07 May 2023 15:01:03 -0700
On Sunday, 7 May 2023 10:35:37 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> As I mentioned in a previous post, if you then change them all from
> 'jthread' to 'thread', you have to edit all four lines.

That's a feature, not a bug. Since the context of most diffs is 3 lines, the
diff may miss the fact that the fourth variable was included in this change,
and it might be important enough to know that its type changed.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-05-07 22:01:05