R
Risto Lankinen
Hi!
Is the following construct legal in C++?
int i = i;
It seems to be working on the compilers that I have. If it
indeed is legal, what is the rationale?
Note also that the following very dangerous construct, too,
seems to be working (probably for the same rationale):
int &r = r;
Cheers!
- Risto -
Is the following construct legal in C++?
int i = i;
It seems to be working on the compilers that I have. If it
indeed is legal, what is the rationale?
Note also that the following very dangerous construct, too,
seems to be working (probably for the same rationale):
int &r = r;
Cheers!
- Risto -