C++17 — The Pragmatic
Year: 2017 · Concepts: 97 (19 core + 78 STL)
C++17 focused on practical improvements to everyday programming — reducing boilerplate, adding powerful vocabulary types, and enabling safer, more expressive code.
Sections
- Core Language (19 concepts) — Structured bindings,
if constexpr, class template argument deduction, fold expressions,if/switchinitializers. - STL & Library (78 concepts) —
std::optional,std::variant,std::any,std::string_view, parallel algorithms,std::filesystem.
Key Features
- Structured bindings —
auto [x, y] = pair; if constexpr— compile-time branching- Class template argument deduction (CTAD) —
std::vector v{1, 2, 3}; - Fold expressions — variadic template expansion
std::optional<T>— nullable value typestd::variant<T...>— type-safe unionstd::string_view— non-owning string referencestd::filesystem— portable file system operations- Parallel STL —
std::execution::parpolicies
Navigation
| Section | Concepts | Link |
|---|---|---|
| Core Language | 19 | Browse → |
| STL & Library | 78 | Browse → |