4 ms·
Modern C++ isn’t all that portable either.
by Torkel 6y ago
Modern C++ isn’t all that portable either.
- FartyMcFarter 6y agoIMHO the last big upgrade to C++ was C++11, which is supported by lots of toolchains. It added move semantics, decent smart pointers, and a crapload of other improvements. C++14 and C++17 were minor upgrades by comparison, so I'd say C++11 can rightly be called modern C++, though others may disagree.
- ncmncm 6y agoI see that you are wholly unaware of C++20, which (combined with '14 and '17) is as large a step from C++11 as C++11 was from C++98.
- FartyMcFarter 6y agoC++20 is barely out yet, and not supported by any toolchain. If that's the only version that counts as modern C++, then I agree that modern C++ isn't portable :)
- jcelerier 6y agoc'mon, you can run C++17 code on Commodore 64 (https://www.youtube.com/watch?v=zBkNBP00wJE https://www.youtube.com/watch?v=zBkNBP00wJE) and MS-DOS (https://www.youtube.com/watch?v=yHrC_rZUaiA https://www.youtube.com/watch?v=yHrC_rZUaiA), what more do you want ?