3 ms·
lambda functions and the auto keyword aren't new either - in C++11 already.
by MichaelMoser123 12y ago
lambda functions and the auto keyword aren't new either - in C++11 already.
- ternaryoperator 12y agoauto keyword was in C++11, but as this article points out, it does a whole lot more in C++14.
- capisce 12y agoYes, but the use of auto to auto-deduce the return type is new in C++14, as well as the use of auto as a return type for lambdas to produce generic lambdas - generic functions without having to use template syntax.