C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Fri, 30 Aug 2024 01:56:57 +0300
On Fri, 30 Aug 2024 at 00:59, Tiago Freire via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> I'm unconvinced that the "bad cases" are not just a product of bad build architecture, if done properly a compiler should never be presented with multiple alternatives of the same file. And putting such requirements on compilers puts an unnecessary burden on developers to support a scenario that it is that is arguably bad practice.

All those poor developers need to do is use include guards. That's
demonstrably not an unreasonable burden.

It's high time this proposal is nuked, yet again. I'll happily do that
in the committee if need be, but I'd prefer not wasting time on it
there.

Received on 2024-08-29 22:57:14