This documentation is archived and is not being maintained.

Compiler Error C2636

'identifier' : pointer to reference member is illegal

A pointer to a reference member was declared.

Example

// C2636.cpp
struct S {};
int &S::*prs;       // C2636
Show: