folly::hash::commutative_hash_combine_generic

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

NameDescription
hasherThe function/callable which will hash the value.
seedRunning hash to combine with
valueValues to hash and fold in