> > Do I have any guarantees that the parameters in a function call will
> > be evaluated in order from left to right?  i.e. if I have:
> >
> > int i = 0;
> > myFunction(i++, i);
> >
> > will it always be called using myFunction(0, 1)  ?
>
> Nope.

Even if the answer were yes, I'd strongly urge you to consider removing the
chance of precedence issues by separating out the two things - it also saves
the reader having to sit there and mentally go through the precedence table
to work out what's going on.

--
Jason Teagle
[EMAIL PROTECTED]




Reply via email to