[EMCpp]Item-2 Understand Auto Type Deduction
· β 4 min read
auto
type deduction is usually the same as template type deduction, with an exception in the case of braced initializer. Also, in C++14, as a function return type or a lambda parameter, auto
implies template type deduction instead of auto
type deduction.