11 #ifndef BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 12 #define BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED 17 #if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS) 35 #if defined( __CODEGEARC__ ) 36 template <
class T>
struct is_member_function_pointer :
public integral_constant<bool, __is_member_function_pointer( T )> {};
37 #elif !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(BOOST_TT_TEST_MS_FUNC_SIGS) 40 :
public ::boost::integral_constant<bool, ::boost::type_traits::is_mem_fun_pointer_impl<typename remove_cv<T>::type>::value>{};
49 struct is_mem_fun_pointer_select
51 template <
class T>
struct result_ :
public false_type{};
55 struct is_mem_fun_pointer_select<false>
57 template <
typename T>
struct result_
59 #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER, >= 140050000) 61 #pragma warning(disable:6334) 64 typedef result_<T> self_type;
70 #if BOOST_WORKAROUND(BOOST_MSVC_FULL_VER, >= 140050000) 77 struct is_member_function_pointer_impl
78 :
public is_mem_fun_pointer_select<
79 ::boost::is_reference<T>::value || ::boost::is_array<T>::value>::template result_<T>{};
82 struct is_member_function_pointer_impl<T&> :
public false_type{};
87 struct is_member_function_pointer_impl
96 struct is_member_function_pointer_impl<T&>
103 template<>
struct is_member_function_pointer_impl<void> :
public false_type{};
104 #ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS 105 template<>
struct is_member_function_pointer_impl<void const> :
public false_type{};
106 template<>
struct is_member_function_pointer_impl<void const volatile> :
public false_type{};
107 template<>
struct is_member_function_pointer_impl<void volatile> :
public false_type{};
114 :
public integral_constant<bool, ::boost::detail::is_member_function_pointer_impl<T>::value>{};
120 #endif // BOOST_TT_IS_MEMBER_FUNCTION_POINTER_HPP_INCLUDED BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
no_type BOOST_TT_DECL is_mem_fun_pointer_tester(...)
#define BOOST_STATIC_CONSTANT(type, assignment)