Combine hashes of multiple items, order‐independently.

Synopsis

Declared in <folly/hash/Hash.h>

template<
    typename Hash,
    typename... Value>
uint64_t
commutative_hash_combine_generic(
    uint64_t seed,
    Hash const& hasher,
    Value const&... value);

Description

methodset ranges

Return Value

The order‐independent combined hash

Parameters

Name

Description

hasher

The function/callable which will hash the value.

seed

Running hash to combine with

value

Values to hash and fold in

Created with MrDocs