C++ Logo

sg15

Advanced search

Re: [isocpp-ext] Can we expect that all C++ source files can have the same suffix?

From: Peter Dimov <pdimov_at_[hidden]>
Date: Wed, 20 Apr 2022 16:32:50 +0300
Daniel Ruoso wrote:
> The thing that I am confused about is: why does it have to be a feature of the
> compiler?

Because it has always worked with #include, so making import not
work unless you add a build system to the mix is a significant regression
in usability.

Ideally, turning #include into import should "just work" (for well-behaved
headers.)

Received on 2022-04-20 13:32:54