[Issue 12516] TypeInfo.getHash should not be trusted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 12 09:31:25 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=12516

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
To fix this would probably involve creating a template called getHash2(T)(ref T
v) or something like that in TypeInfo, and then using parametric polymorphism
on it.

--


More information about the Digitalmars-d-bugs mailing list