Expected.toHash

Calculates the hash value of the Expected in a way that iff it has a value, it returns hash of the value. Hash is computed using internal state and storage of the Expected otherwise.

  1. size_t toHash()
    struct Expected(T, E = string, Hook = Abort)
    size_t
    toHash
    const nothrow
    ()
    (
    )
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )
  2. size_t toHash()

Meta