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
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk 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