Skip to content

[class.union] inaccurate note in p2 #1624

@timsong-cpp

Description

@timsong-cpp

[class.union]/2:

A union object and its non-static data members are pointer-interconvertible~(\ref{basic.compound}, \ref{expr.static.cast}).

This is the case only for standard-layout unions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions