Daily Archives: April 16, 2017


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

General features: Auto specifier