From e2d492bb49f8b09396651a47aed6265b853a18da Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Mon, 27 Feb 2006 03:18:32 +0000 Subject: [PATCH] *** empty log message *** [SVN r33131] --- test/function_ptr_from_tpl.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/function_ptr_from_tpl.cpp b/test/function_ptr_from_tpl.cpp index 2f4db2d..28986d1 100755 --- a/test/function_ptr_from_tpl.cpp +++ b/test/function_ptr_from_tpl.cpp @@ -6,9 +6,11 @@ void f() {} template -class x +struct tpl { - BOOST_STATIC_ASSERT(( - boost::is_same::value - )); + typedef BOOST_TYPEOF_TPL(&f) type; }; + +typedef void(*fun_type)(); + +BOOST_STATIC_ASSERT((boost::is_same::type, fun_type>::value));