A fresh look at comparisons

Scott S. McCoy tag at cpan.org
Mon Apr 14 11:03:33 PDT 2008


Wouldn't that safely be 0?

If there is no order, there must be quality...assuming that all types do
have a natural order, even if it's just it's ordinal value. Otherwise,
they may not be comparable with opCmp, and maybe say, only opEquals :-)

On Mon, 2008-04-14 at 16:10 +0200, Henning Hasemann wrote:
> "the ORDER between these two is not defined" (which
> is something you can't express with the current opCmp)




More information about the Digitalmars-d mailing list