So what is the proper way to get the hash of something now?
Proper generic way to get the hash of something?
Tofu Ninja via Digitalmars-d-learn Sat, 03 Dec 2016 22:55:48 -0800
What is the proper generic way to get the hash of something? It
seems that hashOf has been changed to no longer call toHash on
anything.... Just blindly casts to void[]. It actually seems now
toHash doesn't call any of the specializations of
core.internal.hash.hashOf except the one for void[]. The change
seems pretty dumb and broke my code, not sure why it was done,
the breakage is not in the change log :/.
- Proper generic way to get the hash of s... Tofu Ninja via Digitalmars-d-learn
- Re: Proper generic way to get the ... Tofu Ninja via Digitalmars-d-learn
- Re: Proper generic way to get ... Tofu Ninja via Digitalmars-d-learn
- Re: Proper generic way to ... Seb via Digitalmars-d-learn
- Re: Proper generic way to get the ... John C via Digitalmars-d-learn