forked from boostorg/type_traits
clang/OSX: Disable untestable is_function/is_member_function bits.
This commit is contained in:
@ -56,7 +56,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo1_t>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo2_t>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo3_t>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo4_t>::value, true);
|
||||
#if __cpp_noexcept_function_type
|
||||
#if defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE)
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo5_t>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo6_t>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_function<foo7_t>::value, true);
|
||||
@ -102,7 +102,9 @@ test_cv_qual(&X::f);
|
||||
test_cv_qual(&X::fc);
|
||||
test_cv_qual(&X::fv);
|
||||
test_cv_qual(&X::fcv);
|
||||
#ifndef BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE
|
||||
test_cv_qual(&X::noexcept_f);
|
||||
#endif
|
||||
test_cv_qual(&X::ref_f);
|
||||
test_cv_qual(&X::rvalue_f);
|
||||
|
||||
|
@ -53,7 +53,7 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<int&>::value, fal
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<const int&>::value, false);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<const int[2] >::value, false);
|
||||
|
||||
#if __cpp_noexcept_function_type
|
||||
#if defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE)
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<mf5>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<mf6>::value, true);
|
||||
BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<mf7>::value, true);
|
||||
@ -79,7 +79,9 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_member_function_pointer<ccall_proc>::valu
|
||||
|
||||
#ifdef BOOST_TT_HAS_ASCCURATE_IS_FUNCTION
|
||||
test_tricky(&tricky_members::const_ref_proc);
|
||||
#ifndef BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE
|
||||
test_tricky(&tricky_members::noexcept_proc);
|
||||
#endif
|
||||
test_tricky(&tricky_members::rvalue_proc);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user