diff --git a/test/test.hpp b/test/test.hpp index b31ac38..f0cb166 100755 --- a/test/test.hpp +++ b/test/test.hpp @@ -15,14 +15,14 @@ namespace boost { namespace type_of { struct test_wrapper{}; template - test_wrapper test_helper(test_wrapper*); + T test_make(T*); template struct test { enum {value = boost::is_same< - BOOST_TYPEOF_TPL(test_helper(reinterpret_cast*>(0))), - test_wrapper + BOOST_TYPEOF_TPL(test_make((test_wrapper*)0)), + test_wrapper >::value }; };