This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2529
'name' : reference to reference is illegal
Possible solution
- Use pointer syntax and declare a reference to a pointer.
The following sample generates C2529:
int i;
int &ri = i;
int &(&rri) = ri; // C2529
main() {
}