SumType.toHash

Returns the hash of the SumType's current value.

Not available when compiled with -betterC.

struct SumType(Types...)
version(!D_BetterC)
const
static if(allSatisfy!(isHashable, Map!(ConstOf, Types)))
size_t
toHash
()
if (
is(NoDuplicates!Types == Types) &&
)

Meta