C++ Type Helper
Use const auto
and auto
when in local methods to allow for implicit type checking of variables while preserving static typing like the var
keyword in C#.
It will save you thought and time on matching types in most situations and allows the compiler to check and use the appropriate types.