I
Irrwahn Grausewitz
P.J. Plauger said:If a compiler generates incorrect code, why should one bother to write
correct code at all, as it is rendered useless by the (flawed)
implementation?
And your point is...?
That /is/ the point. The OP asked if he can rely upon a certain order
of evaluation for a given parenthesized expression. He was then told:
"Yes, from the programmers POV, in the sense that there is this as-if
rule." And if it wouldn't be that way, using parentheses in
expressions to /change/ the order of evaluation would be rather
pointless. No more, no less.
Regards