On Sun, 25 May 2014 04:59:43 -0700, John Colvin
<[email protected]> wrote:
On Sunday, 25 May 2014 at 06:54:47 UTC, Steven Schveighoffer wrote:
It's a trivial change to add opEquals when opCmp is defined.
Perhaps I'm being naïve, but can't we just have a default compiler
generated opEquals iff opCmp is defined and opEquals is not.
That is a possibility. But this doesn't solve the issue of types which
have no valid opCmp, but have a valid opEquals. AA's really should never
use opCmp, it's too limiting.
-Steve