Created on 2012-01-02.00:00:00 last changed 1 month ago
Additional note (March, 2022):
The proposed resolution shown above allows lambda-expressions, which is undesirable.
Proposed resolution (February, 2012):
Change 15.2 [cpp.cond] paragraph 2 as follows:
Each preprocessing token that remains (in the list of preprocessing tokens that will become the controlling expression) after all macro replacements have occurred shall be in the lexical form of a token (5.6 [lex.token]).
Change 15.2 [cpp.cond] paragraph 4 as follows:
...using arithmetic that has at least the ranges specified in 17.3 [support.limits]. For the purposes of this token conversion...
It appears that some of the recent changes to the description of constant expressions have allowed constructs into preprocessor expressions that do not belong there. Some changes are required to restrict the current capabilities of constant expressions to what is intended to be allowed in preprocessor expressions.
|2022-03-30 18:46:38||admin||set||messages: + msg6782|
|2012-11-03 00:00:00||admin||set||status: review -> drafting|
|2012-02-27 00:00:00||admin||set||messages: + msg3763|
|2012-02-27 00:00:00||admin||set||status: open -> review|