D and expression evaluation order.
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Sun Apr 29 17:43:58 PDT 2007
Manfred Nowak wrote:
> Bruno Medeiros wrote
>
>> Evaluate operands in the same order as the associativity rule
>> of the
>> operator.
>
> You require all operators to have an associativity? Then what is the
> associativity of the operators for comparison?
>
Huh? "require all operators to have an associativity"?... Any C-based
language has an associativity rule for all operators! Didn't you know
that?? The associativity for comparison operators is listed here:
http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B
(it's the same in D)
--
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list