C++14
suggest changeC++14 was a smaller revision than C++11. It corrected defects and extended several C++11 features. The following is a selected overview.
Language Extensions
- Binary literals
- Generalized return type deduction
- decltype(auto)
- Generalized lambda captures
- Generic lambdas
- Variable templates
- Extended
constexpr - The
[[deprecated]]attribute - Digit separators
Library Extensions
- Shared locking
- User-defined literals for
std::types std::make_unique- Type transformation
_taliases - Addressing tuples by type (e.g.
get<string>(t)) - Transparent Operator Functors (e.g.
greater<>(x)) std::quoted
Deprecated / Removed
std::getswas deprecated in C++11 and removed from C++14std::random_shufflewas deprecated in C++14 and removed in C++17; usestd::shufflewith an explicit random-number generator
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents