sorting failed error

bearophile bearophileHUGS at lycos.com
Mon Jul 30 17:21:58 PDT 2012


Jonathan M Davis:

> I'd actually argue that structs without opCmp shouldn't have it 
> implicitly defined. It's just begging for bugs otherwise.

For reference, this is the issue we are talking about:
http://d.puremagic.com/issues/show_bug.cgi?id=3789

The current situation is totally not acceptable. Even doing what 
I think you are suggesting, that is generating a compile-time 
error, is better than the current situation, that leads to silent 
bugs.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list