Implement the compile time checks for hash functions as a function instead of a templated class. Hopefully it will work on more compilers.

[SVN r28053]
This commit is contained in:
Daniel James
2005-04-07 22:14:02 +00:00
parent 2000b1aed8
commit f102d684cf
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
BOOST_AUTO_UNIT_TEST(pointer_tests)
{
BOOST_CHECK(compile_time_tests<int*>::success);
BOOST_CHECK(compile_time_tests<void*>::success);
compile_time_tests((int**) 0);
compile_time_tests((void**) 0);
HASH_NAMESPACE::hash<int*> x1;
HASH_NAMESPACE::hash<int*> x2;