◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler error C2620 union 'union' : member 'identifier' has default constructor The specified union member was declared with a default constructor. A union member is not allowed to have a default constructor. The following is an example of this error: class A { A(); // A has a default constructor }; union U { A a; // error }; -♦-