Lecture 2 - Slide 23 : 29 |
auto can be used as a type specifier in C++11
auto deduces a type from an initializer
auto is also used when the return type of a function is written after the parameters (suffix return type syntax)
auto can be used for deduction of a function's return type in C++14