From 9f4842e67a27effe6a4d1a8052a584c789889fdb Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Thu, 29 Sep 2005 08:41:29 +0000 Subject: [PATCH] simplified the test [SVN r31146] --- test/test.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }; };