Union Member Data
Unions can contain most types in their member lists, except for the following:
Class types that have constructors or destructors
Class types that have user-defined assignment operators
Static data members
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Unions can contain most types in their member lists, except for the following:
Class types that have constructors or destructors
Class types that have user-defined assignment operators
Static data members