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

Reply via email to