mirror of
https://github.com/boostorg/container_hash.git
synced 2026-05-05 12:14:15 +02:00
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:
@@ -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