C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 27 Aug 2024 13:10:43 -0700
On Tuesday 27 August 2024 12:35:17 GMT-7 Andrey Semashev via Std-Proposals
wrote:
> The fact that gcc took the approach to compare file contents I consider
> a poor choice, and not an argument to standardize this implementation.

Another question is whether a byte comparison of two files of the same size is
expensive for compilers.

#once ID doesn't need to compare the entire file.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-08-27 20:10:47