SumType.toHash

Returns the hash of the SumType's current value.

Not available when compiled with -betterC.

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

Meta