Why Does Dscanner Warn About a Missing toHash if opEquals is Defined?

LaTeigne via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 31 08:30:15 PDT 2016


On Sunday, 31 July 2016 at 15:21:01 UTC, Jack Stouffer wrote:
> Is it really a problem? What are the pitfalls of defining one 
> but not the other?

iirc usage in an AA requires both.


More information about the Digitalmars-d-learn mailing list