|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Compiler Error C2529
Visual Studio 2008
'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