Daily Archives: April 16, 2017


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

General features: Auto specifier