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 committed 2005-04-07 22:14:02 +00:00
1 parent e24a93d8c6
commit 896e07cca7
4 files changed
+6 -7

No files matched your search

+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;