putting more smarts into a == b

bearophile bearophileHUGS at lycos.com
Sat Sep 26 19:27:41 PDT 2009


Andrei Alexandrescu:

> This hoists the identity test outside the opEquals call and also deals 
> with null references. What do you think?

I like it, is also saves some boring code.

Bye,
bearophile



More information about the Digitalmars-d mailing list