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()
  2. size_t toHash()
    struct Checked(T, Hook = Abort)
    shared const nothrow @safe
    size_t
    toHash
    (
    this _
    )
    ()
    if (
    is(T == Checked!(U, H),
    U
    H
    )
    )

Return Value

Type: size_t

The hash of this instance.

Meta