From e35932119570963382a9aba9f4da1591a1a7288e Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Fri, 3 Feb 2006 01:42:21 +0000 Subject: [PATCH] undo last commit [SVN r32521] --- test/function_ptr_from_tpl.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/test/function_ptr_from_tpl.cpp b/test/function_ptr_from_tpl.cpp index 009860a..27aafc5 100755 --- a/test/function_ptr_from_tpl.cpp +++ b/test/function_ptr_from_tpl.cpp @@ -1,33 +1,10 @@ -//#undef BOOST_TYPEOF_COMPLIANT #include -#include -#include - -namespace boost { namespace type_of { - -#ifdef BOOST_TYPEOF_EMULATION - - template - typename enable_if< - is_function, - sizer, T*>::type> - >::type encode(T*); - -#else - - template - char (*encode_start(T*))[encode_type::value]; - -#endif - -}} - void f() {} template class x { - typedef BOOST_TYPEOF(&::f) type; + typedef BOOST_TYPEOF(&f) type; };