Created on 2016-07-06.00:00:00 last changed 20 months ago
[Voted into the WP at the July, 2017 meeting.]
According to 11.5 [class.union] paragraph 2,
[Note: A union object and its non-static data members are pointer-interconvertible (6.8.3 [basic.compound], 126.96.36.199 [expr.static.cast]). As a consequence, all non-static data members of a union object have the same address. —end note]
However, the normative wording now only requires this for standard-layout unions.
|2020-12-15 00:00:00||admin||set||status: drwp -> cd5|
|2018-02-27 00:00:00||admin||set||messages: + msg6130|
|2018-02-27 00:00:00||admin||set||messages: + msg6129|