Hello everyone,
I do not know how in the following code, rvalue -- return of X(), could result in a lvalue finally and binded to a non-const reference input parameter of function f.
Any ideas?
Code:struct X { }; void f (X& x) {} int main() { f (X() = X()); return 0; }
thanks in advance,
George