Boost logo

Boost :

Subject: Re: [boost] [interprocess] boost::hash - different values for thesame input?
From: Peter Dimov (lists_at_[hidden])
Date: 2016-01-13 23:54:05


Daniel James wrote:

> The reason why I originally wrote that note was because it can generate
> different hash values when compiled for different
platforms or architectures, e.g. a 32-bit executable might generate a
different hash value to a 64-bit executable.

Is this just because of pointers and floats, or are there other reasons?
size_t hashing to different values perhaps?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk