Created on 2012-09-13.00:00:00 last changed 131 months ago
[Moved to DR at the April, 2013 meeting.]
Proposed resolution (October, 2012):
Change 7.6.2.5 [expr.sizeof] paragraph 1 as follows:
The sizeof operator yields the number of bytes in the object representation of its operand. The operand is either an expression, which is an unevaluated operand (Clause 7 [expr]), or a parenthesized type-id. The sizeof operator shall not be applied to an expression that has function or incomplete type, to an enumeration type whose underlying type is not fixed before all its enumerators have been declared, to the parenthesized name of such types, or toan lvaluea glvalue that designates a bit-field. sizeof(char)...
According to 7.6.2.5 [expr.sizeof] paragraph 1,
The sizeof operator shall not be applied... to an lvalue that designates a bit-field.
Xvalues can also designate bit-fields and thus should presumably be addressed here as well.
History | |||
---|---|---|---|
Date | User | Action | Args |
2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
2013-10-14 00:00:00 | admin | set | status: dr -> drwp |
2013-05-03 00:00:00 | admin | set | messages: + msg4385 |
2013-05-03 00:00:00 | admin | set | status: ready -> dr |
2012-11-03 00:00:00 | admin | set | messages: + msg4048 |
2012-11-03 00:00:00 | admin | set | status: open -> ready |
2012-09-13 00:00:00 | admin | create |