Greetings,
Is it possible (or easily make it possible) to insert into a hash_map
if I've already calculated a hash value for my key? Because of the
way my application works, prior to calling the hash_map insert, I've
already ran my key through a hash function for something else. I
would like to save some cycles by using it for my hash_map insert. I
realize I can send in a hash function with the creation of my hash_map
but tracking the callback to the insert seems like more trouble then
it's worth. I am using Visual Studio's 2005 STL.
TIA
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]