T
Tim Rentsch
Keith Thompson said:Or 0b11001001. Or 123_456_789.
Note also that the standard allows additional forms of constant
expressions, not just constants, potentially permitting things like:
const int x = 2;
const int y = sqrt(2.0);
x + y; /* implementation-defined constant expression */
Still, I'm not sure this isn't already covered by the general
permission to provide extensions.
Presumably the difference is that extensions could allow
additional forms to be accepted, but could not define additional
forms as being constant expressions, any more than an extension
could define some nonsense input as not having a syntax error.