Compiler Error C2645
no qualified name for pointer to member (found ':: *')
The declaration of a pointer to a member does not specify a class.
The following sample generates C2645:
// C2645.cpp
class A {};
int main() {
int B::* bp; // C2645 B not defined
int A::* ap; // OK
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for