3 ms·
> If Bjarne had written a C++20-only book, it would have been supported by existing compilers Not yet. Most of the C++ 20 features are implemented in at least
by tialaramex 4y ago
> If Bjarne had written a C++20-only book, it would have been supported by existing compilers
Not yet. Most of the C++ 20 features are implemented in at least one compiler, but if you just write a whole pile of C++ 20 without checking all the features you used are in all the compilers you use, that won't work.
- jeroenhd 4y agoLooking at this table: https://en.cppreference.com/w/cpp/compiler_support https://en.cppreference.com/w/cpp/compiler_support it seems like you should be able to use almost all of C++20 with a recent Microsoft compiler without issues. Open source compilers (Clang, g++) lack more features.
- tialaramex 4y agoFair, last time I looked at that table there were still holes for MSVC but they're apparently done.
- Kranar 4y agoOoooooh not at all. MSVC does "support" most features but they are full of issues. MSVC's development seems focused mostly on ticking off boxes, whereas GCC is focused on actually implementing things properly and not releasing things until they actually work. Clang is all but abandoned.