Created on 2011-08-14.00:00:00 last changed 131 months ago
[Moved to DR at the October, 2012 meeting.]
Proposed resolution (February, 2012):
Change 15.6 [cpp.replace] paragraph 12 as follows:
If there is a ...in the identifier-listimmediately preceding the ) in the function-like macro definition, then the trailing arguments, including any separating comma preprocessing tokens, are merged to form a single item: thevariable argumentsvariable arguments. The number of arguments so combined is such that, following merger, the number of arguments is one more than the number of parameters in the macro definition (excluding the ...).
15.6 [cpp.replace] paragraph 12 says,
If there is a ... in the identifier-list in the macro definition...
However, an identifier-list cannot contain an ellipsis according to the grammar in Clause 15 [cpp] paragraph 1.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2013-05-03 00:00:00 | admin | set | status: dr -> drwp |
2012-11-03 00:00:00 | admin | set | messages: + msg4170 |
2012-11-03 00:00:00 | admin | set | status: ready -> dr |
2012-02-27 00:00:00 | admin | set | messages: + msg3745 |
2012-02-27 00:00:00 | admin | set | status: open -> ready |
2011-08-14 00:00:00 | admin | create |