Some problems with operator overloading

Trass3r un at known.com
Mon Mar 15 13:59:53 PDT 2010


> I can see one potential reason to use opBinary("==") and that is to  
> collect binary operator code in one place.

Currently dmd checks that and turns == into opEquals, should never become  
opBinary!("==")



More information about the Digitalmars-d mailing list