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()
  2. size_t toHash()
    struct Expected(T, E = string, Hook = Abort)
    nothrow
    static if(!(!isChecked!Hook))
    size_t
    toHash
    ()
    ()
    if (
    !is(E == void) &&
    (
    !is(T == void)
    )
    )

Meta