C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 27 Aug 2024 20:51:31 +0300
On Tue, 27 Aug 2024 at 19:25, Jeremy Rifkin via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Hi,
> Thank you for your comments.
>
> > #pragma once is unimplementable.
>
> Every notable C/C++ compiler has implemented it.

..all differently, and some differently from what you propose. So, if
your proposal is the solution to all woes,
have you asked vendors that don't implement #pragma once like your
proposal exactly right now to just implement it that way?
That is, after all, what we need to standardize a One True #once, to
have it implemented the same way everywhere, before we standardize
it, not as a hypothetical wish that it will happen once we put a
specification into a standard.

Received on 2024-08-27 17:51:45