C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Tue, 27 Aug 2024 17:47:59 +0200
On 27/08/2024 16.01, Jeremy Rifkin via Std-Proposals wrote:
> 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 <https://jeremy-rifkin.github.io/cpp-proposals/drafts/pragma-once-draft-1.html>.

Regarding the wording suggestion "add a note...":

According to the ISO Directives, Part 2, "may" conveys normative
permission and shall not appear in notes. Please .

https://www.iso.org/sites/directives/current/part2/index.xhtml

Jens

Received on 2024-08-27 15:48:04