Union Member Data
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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

See Also


© 2015 Microsoft