folly::hash::commutative_hash_combine_range

Create a hash from multiple hashable objects, order-independently.

Synopsis

Declared in <folly/hash/Hash.h>

template<class Iter>
uint64_t
commutative_hash_combine_range(
    Iter first,
    Iter last);

Description

methodset ranges

Return Value

The order-independent combined hash of the range

Parameters

NameDescription
firstIterator to the first element
lastIterator past the last element