C++17 C++17
Minimum recommended C++ standard as of 2021.
enable with g++ -std=c++17 or clang++ -std=c++17 or cl.exe /std:c++17
- C++ 17 – cppreference (language and library reference)
- What's new in C++17 in
Tony Tables
- 17 Smaller But Handy C++17 Features
- What are the new features in C++17?
- ISO C++17 (N4659) (Standard as HTML)
Related Articles
A – F
I – M
S
Videos
- C++17: The Important Parts in 10 Minutes (C++ Weekly)
- C++17: Removed Language Features (C++ Weekly)
- C++17 Features [1/2] (Bryce Lelbach, 2017)
- C++17 Features [2/2] (Bryce Lelbach, 2017)
- Moving to C++17 (CopperSpice C++)
- More about Moving to C++17 (CopperSpice C++)
- Practical C++17 (Jason Turner, 2017)
- The C++17 Parallel Algorithms Library and Beyond (Bryce Lelbach, 2016)
- Beyond C++17 [1] (Mateusz Pusz, 2018)
- Beyond C++17 [2] (Mateusz Pusz, 2019)
- Combining C++17 Features (Nicolai Josuttis, 2019)
- Practical C++17 (Jason Turner, 2017)
- Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17 (Jason Turner, 2016)
- Practical TMP: A C++17 Compile Time Register Machine (Daniel Nikpayuk, 2021)
Language
- C++17:
if
andswitch
Init Statements (C++ Weekly) - C++17: Structured Bindings (C++ Weekly)
- C++17:
inline
Variables (C++ Weekly) - C++17: Aggregate Initializations (C++ Weekly)
- C++17: CTAD: Class Template Argument Type Deduction (C++ Weekly)
- C++17: CTAD: Deduction Guides (C++ Weekly)
- C++17: Variadic
using
(C++ Weekly) - C++17: Nested Namespaces and
std::clamp
(C++ Weekly) - C++17:
__has_include
(C++ Weekly) - C++17: Hidden Parts [1/2] (C++ Weekly)
- C++17: Hidden Parts [2/2] (C++ Weekly)
Compile Time
Attributes
- C++17: Changes To Sequence Containers (C++ Weekly)
- C++17:
std::string_view
(C++ Weekly) - C++17:
std::optional
(C++ Weekly) - C++17:
std::gcd
andstd::lcm
(C++ Weekly) - C++17:
std::any
(C++ Weekly) - C++17:
std::invoke
(C++ Weekly) - C++17: Searchers (C++ Weekly)
- C++17:
any
,optional
(CopperSpice C++) - C++17: Nested Namespaces and
std::clamp
(C++ Weekly) - C++17:
std::map
vs. constexpr map (huge perf difference!) (C++ Weekly)