
21 Sep
2008
21 Sep
'08
1:32 a.m.
Hi, On Fri, 19 Sep 2008 22:47:11 +0200, "Manuel Fiorelli" <manuel.fiorelli@gmail.com> said:
I don't feel qualified to evaluate your hash function. However, it seems to me that your code is the same as boost::hash_combine, thus it should be good.
Yes, it is exactly the same as boost::hash_combine, but without #including it.
In the statement
for(uuid::const_iterator i=u.begin(); i != u.end(); ++u)
you should increment i.
Thanks.
Best regards Manuel Fiorelli