
21 May
2009
21 May
'09
8:24 p.m.
2009/5/21 Dominique Devienne
On Thu, May 21, 2009 at 2:36 PM, Daniel James
wrote: 2009/5/21 Dominique Devienne
: #if ACME_SIZEOF_SIZE_T == 4 // Avoid warning C4267: 'argument' : // conversion from 'size_t' to 'unsigned int', possible loss of data boost::hash_combine( seed, static_cast<unsigned int>(hash_value(member_)) ); #else boost::hash_combine(seed, hash_value(member_)); #endif
Doesn't 'boost::hash_combine(seed, member_)' work?
Never meant to imply it doesn't work, sorry.
I wasn't clear, you're calling 'boost::hash_combine(seed, hash_value(member_))', but normally you should be able to just call 'boost::hash_combine(seed, member_)' - hash_combine should hash 'member_' for you. Daniel