On Tue, Aug 27, 2024 at 10:01 AM Jeremy Rifkin via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
Hi,
I have drafted a proposal for standardizing #pragma once. This has been previously proposed a few years ago and I recognize that on top of being difficult to standardize, existing opinions on this topic may render the paper dead on arrival. However, due to its widespread nature and concerns about portability contributing to it not being used more I think it's worth revisiting. I have uploaded the first draft at: https://jeremy-rifkin.github.io/cpp-proposals/drafts/pragma-once-draft-1.html.

Both here and in your __COUNTER__ paper, the table
https://jeremy-rifkin.github.io/cpp-proposals/drafts/pragma-once-draft-1.html#compiler-support
is CSS-styled so that every second row is blacked out. Can you fix that, please? Most prospective readers probably don't even realize there was supposed to be text on those rows!

Naturally I have the same opinion on `#pragma once` as on `__COUNTER__`: I think the proposal is basically a waste of time, but I'm certainly in favor of "standardize existing practice" if it really came to a vote.
(And vice versa, if the proposal is killed by objections like Gasper's, it's no skin off my nose: the feature already exists, whether or not we spend time discussing its standardization.)
FWIW, I'd be very strongly opposed to any attempt to change the recommended practice away from the current existing practice, e.g. to a new directive `#once`, or `#pragma STD once`, or anything like that. I believe you're not proposing any such change; I just hope it'll stay that way. :)

my $.02,
–Arthur