3 ms·
That's the modern-modern C++ :-) More seriously, though - the language is changing gradually: Features are introduced (and rarely, deprecated); and the missing
by einpoklum 3y ago
That's the modern-modern C++ :-)
More seriously, though - the language is changing gradually: Features are introduced (and rarely, deprecated); and the missing bits of the standard library are added. C++11 was a _very_ significant change - but not to how you print output. C++20 and C++23 introduced `std::format` and `std::print`.
- angiosperm 3y agoC++20 is as big a change as C++11. It is almost as much more pleasant upgrading to C++20 as was upgrading to C++11. As more of the C++20 features get implemented in the compiler you use, the experience will continue to improve. Many people can already write "import <std>;" instead of many lines of "#include <...>".
- NekkoDroid 3y agoits `import std;`, without the angled brackets. Just make sure you are using the namespaced fixed integer types if you do :) else you still need `import std.compat` which is basically the c-headers