C++14 — The Polish
Year: 2014 · Concepts: 23 (10 core + 13 STL)
C++14 is a smaller, incremental update to C++11 that polishes rough edges, extends features, and adds convenience improvements without introducing major new paradigms.
Sections
- Core Language (10 concepts) — Generic lambdas, extended
constexpr, variable templates,autoreturn type deduction. - STL & Library (13 concepts) —
std::make_unique, digit separators, user-defined literals,std::exchange.
Key Features
- Generic lambdas —
[](auto x) { return x * 2; } - Extended
constexpr— loops and local variables inconstexprfunctions - Variable templates —
template<typename T> constexpr T pi = T(3.14159); autoreturn type deduction — no need to specify return typestd::make_unique— finally available- Digit separators —
1'000'000for readability
Navigation
| Section | Concepts | Link |
|---|---|---|
| Core Language | 10 | Browse → |
| STL & Library | 13 | Browse → |