SumType.toHash

Returns the hash of the SumType's current value.

Not available when compiled with -betterC.

  1. size_t toHash()
  2. size_t toHash()
    struct SumType(Types...)
    version(!D_BetterC)
    const
    static if(allSatisfy!(isHashable, Map!(ConstOf, Types)))
    size_t
    toHash
    ()

Meta