4 ms·
In any case, having a go at Tour of C++ book is a good way to read about modern idioms.
by pjmlp 2y ago
In any case, having a go at Tour of C++ book is a good way to read about modern idioms.
- xdavidliu 2y agothe most recent version has `import std;` in the very first hello world, which to my knowledge is not close to working in the vast majority of compilers.
- pjmlp 2y agoIt works alright on VC++ and clang/CMake/ninja. The main issue is VS where the EDG frontend still hasn't been properly updated, and clang/cmake can't handle header units. GCC is lagging behind, and everyone else is anyway mostly catching up to C++17. For my hobby coding, I am mostly doing C++23 on VC++, so it is modules all the way. At work, it is still C++17 land on native libraries for managed languages.