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.
'name' : pointer to reference is illegal
Remarks
You cannot declare a pointer to a reference. Dereference the variable before declaring a pointer to it.
Example
The following example generates C2528:
// C2528.cpp
int i;
int &ir = i;
int & (*irptr) = ir; // C2528