[Issue 18676] std.datetime.date.DateTime has opEquals but no toHash
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Mar 28 17:16:07 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18676
Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |issues.dlang at jmdavisProg.co
| |m
--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
DateTime does not define opEquals. It uses the default. If you meant opCmp like
you said on the other bug reports referring to std.datetime.date, I ask what I
asked there:
Why does it matter if opCmp is defined and not toHash? It's if opEquals is
defined that toHash is required, not opCmp.
--
More information about the Digitalmars-d-bugs
mailing list