opCmp just for AA's

Manfred Nowak svv1999 at hotmail.com
Mon Mar 12 15:49:33 PDT 2007


Michiel Helvensteijn wrote

> It will also allow users of the
> class to use the inequality operators on its instances.

True, but only with casting to Object. In effect the opCmp, that has to 
be provided for AA's has a different signature and can be functionally 
different from the opCmp, that has to be provided for comparisons.

-manfred



More information about the Digitalmars-d mailing list