Created on 2022-11-03.00:00:00 last changed 17 months ago
Proposed resolution (approved by CWG and LWG 2022-11-11):
Change in 17.13.2 [cstdarg.syn] as follows:
The contents of the header <cstdarg> are the same as the C standard library header <stdarg.h>, with the following changes: In lieu of the default argument promotions specified in ISO C 6.5.2.2, the definition in 7.6.1.3 [expr.call] applies. The restrictions that ISO C places on the second parameter to the va_start macro in header <stdarg.h> are different in this document. ...
CWG 2022-11-10
The phrase is useful and needed to override C's deviating definition, as applicable to va_arg.
[Accepted as a DR at the November, 2022 meeting.]
The phrase "default argument promotions" is apparently unused.
Possible resolution [SUPERSEDED]:
Change in 7.6.1.3 [expr.call] paragraph 12 as follows:
...If the argument has integral or enumeration type that is subject to the integral promotions (7.3.7 [conv.prom]), or a floating-point type that is subject to the floating-point promotion (7.3.8 [conv.fpprom]), the value of the argument is converted to the promoted type before the call.These promotions are referred to as the default argument promotions.
Change in 17.13.2 [cstdarg.syn] as follows:
See also: ISO C 7.16.1.1 7.16.1
History | |||
---|---|---|---|
Date | User | Action | Args |
2023-07-16 13:00:43 | admin | set | status: open -> c++23 |
2023-07-16 13:00:43 | admin | set | status: drwp -> open |
2023-02-18 18:43:04 | admin | set | status: dr -> drwp |
2022-11-25 05:14:04 | admin | set | status: nb -> dr |
2022-11-12 03:37:02 | admin | set | status: review -> nb |
2022-11-12 03:37:02 | admin | set | messages: + msg7025 |
2022-11-12 03:37:02 | admin | set | status: review -> review |
2022-11-12 03:37:02 | admin | set | status: review -> review |
2022-11-12 03:37:02 | admin | set | messages: + msg7003 |
2022-11-12 03:37:02 | admin | set | status: review -> review |
2022-11-11 18:46:12 | admin | set | status: nb -> review |
2022-11-11 18:46:12 | admin | set | status: nb -> nb |
2022-11-11 18:46:12 | admin | set | status: nb -> nb |
2022-11-11 18:46:12 | admin | set | status: nb -> nb |
2022-11-08 07:11:55 | admin | set | status: open -> nb |
2022-11-08 07:11:55 | admin | set | status: open -> open |
2022-11-08 07:11:55 | admin | set | status: open -> open |
2022-11-08 07:11:55 | admin | set | status: open -> open |
2022-11-07 14:37:39 | admin | set | status: nb -> open |
2022-11-07 14:37:39 | admin | set | status: nb -> nb |
2022-11-07 14:37:39 | admin | set | status: nb -> nb |
2022-11-03 00:00:00 | admin | create |