Boost logo

Boost Users :

Subject: [Boost-users] boost::hash and string conflicts
From: Erik Scorelle (escorelle.work_at_[hidden])
Date: 2011-04-07 13:08:57


Hi,

We have been using boost hash to hash filenames, but have found with some of
our user data that certain strings will produce the same hash code (
"0012g6" and "0012fu" for example). Is there a recommended way to predict
or resolve these sorts of conflicts?

Thanks in advance!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net