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 e24a93d8c6
commit 896e07cca7
4 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
template <class T>
void numeric_test()
{
BOOST_CHECK(compile_time_tests<T>::success);
compile_time_tests((T*) 0);
HASH_NAMESPACE::hash<T> x1;
HASH_NAMESPACE::hash<T> x2;