EasyLocalAPI reference iolab-uniud/easylocal

easylocal::hash_range

Folds the hash of every element of range, in order, into seed (0 by default), and returns the result.

Synopsis

Declared in <easylocal/utils/hash.hpp>

template<std::ranges::input_range Range>
requires std_hashable<std::ranges::range_value_t<Range>>
[[nodiscard]]
constexpr
uint64_t
hash_range(
    Range&& range,
    uint64_t seed = 0);

Return Value

NOTE

The return value should not be discarded.