diff --git a/test/compile_time.hpp b/test/compile_time.hpp index db6bc59..d7631b8 100644 --- a/test/compile_time.hpp +++ b/test/compile_time.hpp @@ -5,14 +5,16 @@ #include #include -#include +#include template void compile_time_tests(T*) { -#if !defined(_HAS_AUTO_PTR_ETC) || _HAS_AUTO_PTR_ETC - BOOST_STATIC_ASSERT((boost::is_base_and_derived< - std::unary_function, BOOST_HASH_TEST_NAMESPACE::hash >::value)); -#endif + BOOST_STATIC_ASSERT((boost::is_same::argument_type + >::value)); + BOOST_STATIC_ASSERT((boost::is_same::result_type + >::value)); }