Auto Type Deduction
In C++03, auto specifies that a variable has automatic storage duration. This means that the variable is destroyed when it falls out of scope. This contrasts with static variables which persist for the lifetime of the program. Since the default storage duration is auto, the specifier is usually omitted. In C++11, the auto keyword has … Read more