C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Revising #pragma once

From: Magnus Fromreide <magfr_at_[hidden]>
Date: Mon, 2 Sep 2024 14:02:44 +0200
On Mon, Sep 02, 2024 at 10:21:04AM +0100, Jonathan Wakely via Std-Proposals wrote:
>
> The behaviour of #include "" is implementation-defined. The common
> "relative to the file doing the including" behaviour is not required by the
> standard.

Would trying to standardize the "relative to the file doing the including"
behaviour, probably via WG14, be a reasonable idea or are there implentations
out there that utilize the freedom?

/MF

Received on 2024-09-02 12:02:49