Assertion: union | /r/MadeOf | non-static data member
Facets:
value: with copy/move assignment
type: OTHER
value: with destructor
type: OTHER
Source sentences:
text: If a union contains a non-static data member with a non-trivial special member function (copy/move constructor, copy/move assignment, or destructor), that function is deleted by default in the union and needs to be defined explicitly by the programmer.
text: If a union contains a non-static data member with a non-trivial default constructor, the default constructor of the union is deleted by default unless a variant member of the union has a default member initializer .