Compiler Error C2621

union 'union' : member 'identifier' has copy constructor

The specified union member was declared with a copy constructor.

A union member is not allowed to have a copy constructor.

The following is an example of this error:

class A
{
   A( const A& );  // A has a copy constructor
};
union U
{
   A a;            // error
};