Skip to content

Comment on Modern C++ – RAIIparent

Comments

Visual C++ and clang.

Many projects do just fine sticking to a single compiler.

Not for everyone, but they exist nonetheless, including on FOSS world.

AFAIK, Clang (like GCC) needs an extra step to compile the standard modules files. It does not work, as one would reasonably expect, with something like:

    clang++ -std=c++23 fname.cpp
(I know you can use Cmake to solve it - but I want a simple solution something that can be shown to a junior programmer.)
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.