octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined compound chaining behavior


From: Hossein Sajjadi
Subject: Re: undefined compound chaining behavior
Date: Fri, 13 Jun 2014 10:01:25 +0330

On 6/13/14, Jordi Gutiérrez Hermoso <address@hidden> wrote:
> On Fri, 2014-06-13 at 04:54 +0330, Hossein Sajjadi wrote:
>> if the compiler decides to evaluate the expression from right to left
>> the result will be 10.
>
> I don't know how else to say this.
>
> You are wrong.
>
> - Jordi G. H.
>
>
>

I am not wrong, it is the c++ standard. Evaluations are unsequenced:
"Except where noted, evaluations of operands of individual operators
and of subexpressions of individual expressions are unsequenced."§1.9



reply via email to

[Prev in Thread] Current Thread [Next in Thread]