Code that is written to the 2017 version of the C++ standard. Use in conjunction with the 'c++' tag.
Use this tag for code that is to be compiled as C++17, published as ISO/IEC 14882:2017 in December 2017.
Some of the main improvements of C++17, compared to C++14, include:
- Compile-time conditionals:
if constexpr
- Class template argument deduction
- Fold expressions
std::string_view
classstd::optional
andstd::variant
class templates