basis class 'class' for pointer to member has not been defined
A pointer points to a class that was declared but not defined.
Example
class C; int C::* cp; // error, C has not been defined class D {}; int D::*dp; // OK