auto a = 10;
When compiler knows a is int, at compile time or at run-time? If it deduce type at run-time, will it not aff
a
int
It's done completely at compile time, with no performance difference.
auto i = 2;
compiles the same as
int i = 2;