forked from boostorg/container_hash
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:
1 parent
e24a93d8c6
commit
896e07cca7
4 files changed
+6
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user