411 REFERENCE · Wikibooks
C++ Language/Type/Shortcuts
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The traditional way of defining a C++ variable explicitly specifies a type and a variable name.
But several language features allow a programmer to take a shortcut, instead of fully specifying a type and a variable name.
Templated typedef
From Another Variable
From Initialization
From a return Statement
Trailing Return Type