Someone posted earlier an example that looked like taken from the
standard. It was: i = 7, i++, i++; and the result should be 9 (i = 9
in the end)
I thought that the compiler isn't required to do the assignement until
the right hand side expression is fully evaluated. Apparently, the
above expression is handled as:
i = 7;
i++;
i++;
which I don't think is right. Could someone explain, please?
/dan