Jonathan M Davis <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Jonathan M Davis <> 2011-03-18 12:59:08 
PDT ---
The order of function arguments is _never_ defined. It's completely
implementation dependent. The compiler is free to re-order them as it wishes.
So, for instance, using a variable and incrementing it separately in the same
expression (or incrementing it two places like you're doing) is definitely a
bad idea. It's always been that way in C and C++, and it's that way in D.

Walter has said that he may make it so that the order _is_ defined, which would
eliminate bugs related to someone doing something like you're trying to do, but
that change has never been made.

Regardless, the behavior is completely expected. Don't rely on the order of
evalution of function arguments.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to