28 Jul
2014
28 Jul
'14
10:50 p.m.
On 27 July 2014 17:07, Joaquin M Lopez Munoz
Hi,
There's been a number of internal changes to the implementation of boost::hash_combine during this year, with the result that the documented procedure:
http://www.boost.org/doc/html/hash/reference.html#boost.hash_combine
namely, seed ^= hash_value(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2), is no longer followed in all cases.
This is a backwards compatibility breach --at the very least I think it should be documented.
That algorithm should never have been specified in the documentation. I guess I overestimated myself and assumed I wouldn't do such a thing. I've removed it now, and added some notes.