Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C2529

Error Message

'name' : reference to reference is illegal

This error may be fixed by using pointer syntax and declaring a reference to a pointer.

The following sample generates C2529:

// C2529.cpp
// compile with: /c
int i;
int &ri = i;
int &(&rri) = ri;   // C2529
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.