News for hackers. Stuff that matters.
Re:C++23: The Next C++ Standard by Conscat on Tuesday July 11, 2023 @01:09PM (#36683967)
#include is a preprocessor directive that substitutes the text of a file in place. import declares that this translation unit should link to a specified module unit. Usually there would only be a single translation unit for the entire program in the latter case, which obsoletes IPO/LTO (except when you have statically linked libraries), and means internal linkage functions (everything that is template, inline, or constexpr) do not have to be redundantly recompiled. That also means there would be no distinction between inline variables and static variables. This obsoletes unity builds and precompiled headers.

There are no comments on this comment yet.