Killing equals_t
Mehrdad
wfunction at hotmail.com
Sun May 13 17:56:19 PDT 2012
On Monday, 14 May 2012 at 00:53:20 UTC, Alex Rønne Petersen
wrote:
> Hi,
>
> Would anyone be terribly angry if equals_t was deprecated and
> later removed? I sent a patch a while back to add a compare_t
> type for consistency, but the consensus ended up being that
> it'd be better to get rid of equals_t.
I don't have an opinion about either, but just to point this out:
Equality is NOT the same thing as a comparison returning zero.
(Consider complex numbers.)
More information about the Digitalmars-d
mailing list