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
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
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