3 ms·
I generally start using -std=c++XX switches in compilers before the standards are actually released ; I don't remember the last time I've seen a project that wa
by jcelerier 5y ago
I generally start using -std=c++XX switches in compilers before the standards are actually released ; I don't remember the last time I've seen a project that wasn't at least c++17
- wyldfire 5y agoLLVM itself has only just now green-lit using c++17 [1] so I find myself using c++14 most of the time. [1] https://discourse.llvm.org/t/important-new-toolchain-requirements-to-build-llvm-will-most-likely-be-landing-within-a-week-prepare-your-buildbots/61447 https://discourse.llvm.org/t/important-new-toolchain-require...
- jcelerier 5y agoYou are seriously missing out. C++17 has worked fine for years with clang - and I wouldn't ever go back to writing sfinae code since c++20 concepts are there, it's a massive simplification; likewise for structured bindings (for(auto& [k,v] : map)), if constexpr, ...