Created on 2004-01-15.00:00:00 last changed 171 months ago
Proposed resolution:
Change 18.1, paragraph 5, to:
The macro offsetof accepts a restricted set of type arguments in this International Standard. If type is not a POD structure or a POD union the results are undefined. The result of applying the offsetof macro to a field that is a static data member or a function member is undefined."
Original text:
The macro offsetof accepts a restricted set of type arguments in this International Standard. type shall be a POD structure or a POD union (clause 9). The result of applying the offsetof macro to a field that is a static data member or a function member is undefined."
Revised text:
"If type is not a POD structure or a POD union the results are undefined."
Looks to me like the revised text should have replaced only the second sentence. It doesn't make sense standing alone.
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2673 |
2004-01-15 00:00:00 | admin | create |