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
Ce navigateur n’est plus pris en charge.
Effectuez une mise à niveau vers Microsoft Edge pour tirer parti des dernières fonctionnalités, des mises à jour de sécurité et du support technique.
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