Created on 2011-06-23.00:00:00 last changed 148 months ago
Rationale (August, 2011):
The purpose of “layout compatible” types in C++ is for C compatibility with respect to the common initial sequence of structs appearing in unions. However, C requires that corresponding members have compatible types, and compatible types must have the same cv-qualification. Consequently, this issue is not a defect.
Should cv-qualified and cv-unqualified versions of fundamental types be considered to be layout-compatible types?
History | |||
---|---|---|---|
Date | User | Action | Args |
2012-09-24 00:00:00 | admin | set | messages: + msg4020 |
2011-06-23 00:00:00 | admin | create |