C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Mon, 23 Sep 2024 21:32:12 +0100
On Monday, September 23, 2024, Lénárd Szolnoki via Std-Proposals <
std-proposals_at_[hidden]> wrote:
>
>
> Might as well just ditch the HPP_MONKEY part at this point, it serves no
> purpose.



Maybe the pragma should take one parameter, a 128-bit hex number as follows:

    #pragma once 12345678123456781234567812345678

The only danger with this though is that someone might copy a header file
and edit it without editing the 128-Bit hex.

Received on 2024-09-23 20:32:15