Lecture 2 - Slide 23 : 29
Deduction of types with auto

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

Sample use of auto in C++11.
Same - without std:: - with using namespace std.
Same - illustrates deduction of a functions return type in C++14.