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; };