identityHash64

Dummy-hash for benchmarking performance of HashSet.

@safe nothrow pure @nogc @nogc pragma(inline, true) pure nothrow @safe
@nogc => x
hash_t
identityHash64
(
in ulong x
)

Examples

assert(identityHash64(-1) == ulong.max);
assert(identityHash64(int.max) == int.max);
assert(identityHash64(ulong.max) == ulong.max);

Meta