I need a @nogc version of hashOf(). What are the options?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 7 09:42:47 PDT 2016


I need a @nogc version of hashOf(). Here's one i'm currently 
using but it's not marked as @nogc.

https://github.com/dlang/druntime/blob/master/src/object.d#L3170

What are the options now?

Is there anything D offers that I could use? I need a function 
that takes a variable of any type and returns a numeric hash.


More information about the Digitalmars-d-learn mailing list