3 ms·
Uninitialized constant foo They actually can't (well, shouldn't) write "const int foo;" as a local variable because the compiler needs to know its value. And t
by tialaramex 5y ago
Uninitialized constant foo
They actually can't (well, shouldn't) write "const int foo;" as a local variable because the compiler needs to know its value. And that gives the game away.
These are already different cases, yes both the structure member and the local variable are names with types, but they already need to be explained separately.