is it possible to have unions with classes in them? Like this:
and if so, can constructors and destructors of a and b get called? Or do you guys feel that one should stay away from unions in the world of C++.Code:union { ClassNameA a; ClassNameB b; } unionname;