Преглед изворни кода

New attempt at fixing the function pointer hash on the Sun compilers.

I think I was barking up the wrong tree - it could be that when calling
hash_value with a function pointer the compiler was choosing the
hash_value(bool) overload over the hash_value(T*) overload, so instead I'm
trying to call the correct one by giving it a template parameter. Another
alternative would be to calculate the hash function inside boost::hash.

Unfortunately, if I'm right, this means that other calls to hash_value will go
wrong for function pointers.


[SVN r39972]
Daniel James пре 18 година
родитељ
комит
7ab6ab00be
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      libs/functional

+ 1 - 1
libs/functional

@@ -1 +1 @@
-Subproject commit cd2d453735221a11de51dd31fb164d3bd34bc253
+Subproject commit d6a5c9c435caff0f28e6f81dd504e4a5de57efc6

粤ICP备19079148号