WAT: opCmp and opEquals woes
Fool via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jul 27 23:09:19 PDT 2014
On Sunday, 27 July 2014 at 21:16:52 UTC, Ola Fosheim Grøstad
wrote:
> But I thought it was confirmed in this thread by the language
> designers that "==" is equality in D, thus "===" in other
> languages are not needed?
For me two instances of a class located at different memory
locations can never be equal since they can be distinguished.
They can only be equivalent with respect to some relation.
That said, I am not a native speaker, and probably wrong.
More information about the Digitalmars-d
mailing list