Daily Archives: April 16, 2017


code
Syntax [crayon-5ce786b911ed2258282570/] Usage / Usability Type deduction happens at compile time Auto ignores references and const/volatile Hard to write [crayon-5ce786b911ee0990335943/]   Hard to know [crayon-5ce786b911ee4164844466/] PROS No more uninitialized variables, no more hidden bugs [crayon-5ce786b911ee8508116826/] avoid problems related to “type shortcuts” [crayon-5ce786b911eeb198948684/] std::vector<int>::size_type is specified to be an unsigned integral […]

General features: Auto specifier