forked from boostorg/functional
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user