WAT: opCmp and opEquals woes

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 25 16:31:18 PDT 2014


On 7/25/2014 4:28 PM, H. S. Teoh via Digitalmars-d wrote:
> That page doesn't say anything about TypeInfo, though.

It says to follow the form.

> But even then,
> why doesn't the compiler reject opCmp signatures that don't match the
> compiler's expectations?

Because you may want to use an opCmp for other purposes.



More information about the Digitalmars-d mailing list