Evaluation order of index expressions

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon May 25 09:42:28 PDT 2015


On 5/25/15 1:00 AM, Jonathan M Davis wrote:
> foo(++i, ++i);

More complete example:

table[++i] = objTable[++i].funcTable[++i](++i, ++i);

should be well defined and evaluate left to right.


Andrei



More information about the Digitalmars-d mailing list