TypeHash.TypeHash

Undocumented in source.
  1. auto TypeHash;
  2. auto TypeHash;
  3. auto TypeHash;
  4. auto TypeHash;
  5. auto TypeHash;
  6. auto TypeHash;
  7. auto TypeHash;
  8. auto TypeHash;
  9. auto TypeHash;
    template TypeHash(ulong hash, T)
    static immutable
    static if(!(is(T == struct) && !isTypedef!(T)))
    static if(!(is(T == union)))
    static if(!(is(T Base : Base[])))
    static if(!(is(T Base == Base*)))
    static if(!(is(T Func == delegate) && is(Func Args == function) && is(Func R == return)))
    static if(!(is(typeof(T.init.values[0]) V) && is(typeof(T.init.keys[0]) K) && is(V[K] == T)))
    auto TypeHash = StaticFnv1a64!(hash, CheckedBaseType!(T).stringof);

Meta