opCmp and opEquals woes

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 23 23:46:27 PDT 2014


"Ola Fosheim Grøstad" " wrote in message 
news:duuhouucozvosboibhtc at forum.dlang.org...

> For fuzzy numbers you can define less than such that a<b and b<a both are 
> true... yes?

You could, but if you do it with opCmp it looks like operator overloading 
abuse to me. 



More information about the Digitalmars-d mailing list