Home | Libraries | People | FAQ | More |
boost::hash_combine — Called repeatedly to incrementally create a hash value from several variables.
template<typename T> void hash_combine(size_t & seed, T const & v);
Effects:
seed ^= hash_value(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
This is an extension to TR1
Copyright © 2005 Daniel James |