C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Tue, 27 Aug 2024 22:10:14 +0300
On Tue, 27 Aug 2024 at 22:02, Arthur O'Dwyer via Std-Proposals
<std-proposals_at_[hidden]> wrote:

> 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. :)

That's intriguing, considering that the whole point of a #pragma is to
have something that is an implementation-defined facility, and there
is an implicit
promise that a standard will never grab a #pragma.

Received on 2024-08-27 19:10:29