Checked.toHash

Generates a hash for this. If Hook defines hookToHash, the call immediately returns hook.hookToHash(payload). If Hook does not implement hookToHash, but it has state, a hash will be generated for the Hook using the built-in function and it will be xored with the hash of the payload.

  1. size_t toHash()
    struct Checked(T, Hook = Abort)
    const nothrow @safe
    size_t
    toHash
    ()
    if (
    is(T == Checked!(U, H),
    U
    H
    )
    )
  2. size_t toHash()

Return Value

Type: size_t

The hash of this instance.

Meta