Template Function marian::util::hash_combine

Function Documentation

template<class T, class HashType = std::size_t>
void marian::util::hash_combine(HashType &seed, T const &v)

Combine hash values.

This combinator is based on boost::hash_combine, but uses std::hash as the hash implementation. Used as a drop-in replacement for boost::hash_combine.