Why does Object.opEquals *exist*

Anders F Björklund afb at algonet.se
Thu Nov 9 03:57:00 PST 2006


Kristian Kilpi wrote:

> So the original question remains: why 'opEquals' returns int?

Walter says it is for performance reason, when e.g. sorting...

http://www.digitalmars.com/d/archives/digitalmars/D/bugs/7933.html

--anders



More information about the Digitalmars-d mailing list