Evaluation order of index expressions

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue May 26 06:04:11 PDT 2015


On 05/26/2015 02:51 PM, Timon Gehr wrote:
>
> int a=0,b=0;
> (b++,a)=b; // ltr gives a==1, rtl gives a==0, caching irrelevant

This should have said that caching _on the lhs_ is irrelevant.


More information about the Digitalmars-d mailing list