Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
no qualified name for pointer to member (found ':: *')
Remarks
The declaration of a pointer to a member does not specify a class.
Example
The following example generates C2645:
// C2645.cpp
class A {};
int main() {
int B::* bp; // C2645 B not defined
int A::* ap; // OK
}