Some attributes

bearophile bearophileHUGS at lycos.com
Wed Mar 17 19:21:11 PDT 2010


Don:
> The new operator overloading doesn't have commutativity by default,

I didn't know this (and the op overload page doesn't state it. I think future D front-end rewriters will need to know this).


>(BTW + and * are commutative in floating point, it's associativity that doesn't hold).<

And distributivity too doesn't hold. I am sorry, I have read this in the past, and I have forgotten. 
Thank you very much Don.

Bye,
bearophile



More information about the Digitalmars-d mailing list