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.
In this article
'identifier' : pointer to reference member is illegal
A pointer to a reference member was declared.
The following sample generates C2636:
// C2636.cpp
struct S {};
int main() {
int &S::*prs; // C2636
int S::*prs1; // OK
int *S::*prs2; // OK
}