Assertion: union's member | /r/HasProperty | class
Facets:
value: with destructors
type: OTHER
value: to switch the active member
type: PURPOSE
value: with user-defined constructors
type: OTHER
Source sentences:
text: If members of a union are classes with user-defined constructors and destructors, to switch the active member, explicit destructor and placement new are generally needed: Run this code #include <iostream> #