Skip to main content

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 class
  • std::optional and std::variant class templates