Compiler Error C2623
Visual Studio .NET 2003
member 'identifier' of union 'union' has destructor
A union member cannot have a destructor.
Example
// C2623.cpp
class A
{
~A(); // A has a destructor
};
union U
{
A a; // C2623
};