I've been looking at the `getHash` function of the `TypeInfo` class but that only seems to return the passed pointer. Any ideas?
How to hash any type to an integer?
Gary Willoughby via Digitalmars-d-learn Sun, 29 May 2016 04:11:43 -0700
I'm currently implementing a hash map as an exercise and wondered
if there is a built-in function I could use to hash keys
effectively? What I'm looking for is a function that hashes any
variable (of any type) to an integer.
- How to hash any type to an integer... Gary Willoughby via Digitalmars-d-learn
- Re: How to hash any type to a... Seb via Digitalmars-d-learn
- Re: How to hash any type ... Gary Willoughby via Digitalmars-d-learn