Compiler Error C2614 (Windows CE 5.0)

Send Feedback

'class1' : illegal member initialization: 'class2' is not a base or member

Only member or base classes can appear in the initialization list for a class or structure.

The following example shows ways this error might occur.

class A
{
public:
   int i;
   A( int ia ) : B( i ) {};  // error, B is not a member of A
};

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.