Hi!
You cannot declare references at references (eg. int& &rr = r), but this way, it works:
„_int main(void)
„_{
„_ int a = 1;
„_ int &r = a;
„_ int &rr = r;
| rr++;
| cout << a; // output: 2!
|
|}
Why does this work!?
Depends it which compiler you are using?
regards,
Manuel