Is it sufficient to declare a global variable (which will be defined in a separate header file and #included in the implementations of various classes -- to be used as a constant in various methods) as just:
const int foo;
or is there some reason to declare it as:
static const int foo;
I've seen some code where "static" is used in this context, but I don't see any reason for it, and haven't noticed any difference in running the code either way. Does "static" have any significance in this context?