/third_party/boost/libs/math/test/ |
D | test_policy.cpp | 18 if(!boost::is_same<P1, P2>::value) in check_same() 23 return boost::is_same<P1, P2>::value; in check_same() 38 …BOOST_CHECK((is_same<policy<>::domain_error_type, domain_error<BOOST_MATH_DOMAIN_ERROR_POLICY> >::… in BOOST_AUTO_TEST_CASE() 39 …BOOST_CHECK((is_same<policy<>::evaluation_error_type, evaluation_error<BOOST_MATH_EVALUATION_ERROR… in BOOST_AUTO_TEST_CASE() 41 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::domain_error_type, domain_error<ignore_e… in BOOST_AUTO_TEST_CASE() 42 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::pole_error_type, pole_error<BOOST_MATH_P… in BOOST_AUTO_TEST_CASE() 43 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::overflow_error_type, overflow_error<BOOS… in BOOST_AUTO_TEST_CASE() 44 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::underflow_error_type, underflow_error<BO… in BOOST_AUTO_TEST_CASE() 45 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::denorm_error_type, denorm_error<BOOST_MA… in BOOST_AUTO_TEST_CASE() 46 …BOOST_CHECK((is_same<policy<domain_error<ignore_error> >::evaluation_error_type, evaluation_error<… in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/boost/libs/mp11/test/ |
D | mp_rename.cpp | 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L1, mp_list>, mp_list<>>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L1, std::tuple>, std::tuple<>>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L1, X>, X<>>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L1, Y>, Y<>>)); in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<mp_list, L1>, mp_list<>>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<std::tuple, L1>, std::tuple<>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<X, L1>, X<>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<Y, L1>, Y<>>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L2, mp_list>, mp_list<char>>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L2, std::tuple>, std::tuple<char>>)); in main() [all …]
|
D | mp_set_push_back.cpp | 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1>, L1>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, void>, mp_list<void>>)); in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, int>, mp_list<int>>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, void, int>, mp_list<void, int>>)); in main() 29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, void, int, char[]>, mp_list<void, int, ch… in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, void, int, void, int, void, int>, mp_list… in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L2>, L2>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L2, void>, L2>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L2, int>, mp_list<void, int>>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L2, int, void>, mp_list<void, int>>)); in main() [all …]
|
D | mp_set_push_front.cpp | 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1>, L1>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, void>, mp_list<void>>)); in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, int>, mp_list<int>>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, void, int>, mp_list<void, int>>)); in main() 29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, void, int, char[]>, mp_list<void, int, c… in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, void, int, void, int, void, int>, mp_lis… in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L2>, L2>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L2, void>, L2>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L2, int>, mp_list<int, void>>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L2, void, int>, mp_list<int, void>>)); in main() [all …]
|
D | mp_unique_if.cpp | 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<>, std::is_same>, mp_list<>>)); in main() 45 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void>, std::is_same>, mp_list<void>>)); in main() 46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, void>, std::is_same>, mp_list<void>… in main() 47 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, void, void>, std::is_same>, mp_list… in main() 48 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, void, void, void>, std::is_same>, m… in main() 50 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, int>, std::is_same>, mp_list<void, … in main() 51 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, void, void, int, int, int>, std::is… in main() 52 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, int, void, int, int, void, int, int… in main() 54 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, int, char[]>, std::is_same>, mp_lis… in main() 55 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, int, char[], void, int, char[], void… in main() [all …]
|
D | mp_erase.cpp | 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L1, 0, 0>, L1>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L1, _0, _0>, L1>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 0, 0>, L2>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 1, 1>, L2>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 2, 2>, L2>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 3, 3>, L2>)); in main() 50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 4, 4>, L2>)); in main() 51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 5, 5>, L2>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _0, _0>, L2>)); in main() 54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _1, _1>, L2>)); in main() [all …]
|
D | mp_repeat.cpp | 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat_c<L1, 0>, mp_list<>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat_c<L1, 1>, mp_list<>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat_c<L1, 2>, mp_list<>>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat_c<L1, 3>, mp_list<>>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat_c<L1, 31>, mp_list<>>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat<L1, mp_false>, mp_list<>>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat<L1, mp_true>, mp_list<>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat<L1, mp_int<2>>, mp_list<>>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat<L1, mp_int<3>>, mp_list<>>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_repeat<L1, mp_size_t<31>>, mp_list<>>)); in main() [all …]
|
D | mp_rotate_left.cpp | 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L1, 0>, L1>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L1, 1>, L1>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L1, 2>, L1>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L1, 3>, L1>)); in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L1, 4>, L1>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left<L1, mp_size_t<0>>, L1>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left<L1, mp_size_t<1>>, L1>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left<L1, mp_size_t<2>>, L1>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left<L1, mp_size_t<3>>, L1>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left<L1, mp_size_t<4>>, L1>)); in main() [all …]
|
D | mp_rotate_right.cpp | 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L1, 0>, L1>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L1, 1>, L1>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L1, 2>, L1>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L1, 3>, L1>)); in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L1, 4>, L1>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right<L1, mp_size_t<0>>, L1>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right<L1, mp_size_t<1>>, L1>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right<L1, mp_size_t<2>>, L1>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right<L1, mp_size_t<3>>, L1>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right<L1, mp_size_t<4>>, L1>)); in main() [all …]
|
D | mp_or.cpp | 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<>, mp_false>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_true>, mp_true>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_false>, mp_false>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_int<-7>>, mp_true>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_int<0>>, mp_false>)); in main() 31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_size_t<7>>, mp_true>)); in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_size_t<0>>, mp_false>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_true, void>, mp_true>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_false, mp_true>, mp_true>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_false, mp_false>, mp_false>)); in main() [all …]
|
D | integer_sequence.cpp | 22 BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 0>, integer_sequence<int>>)); in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 1>, integer_sequence<int, 0>>)); in main() 24 … BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 2>, integer_sequence<int, 0, 1>>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 3>, integer_sequence<int, 0, 1, 2>>… in main() 26 …BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 4>, integer_sequence<int, 0, 1, 2, … in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 0>, integer_sequence<char>>)); in main() 29 … BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 1>, integer_sequence<char, 0>>)); in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 2>, integer_sequence<char, 0, 1>>)… in main() 31 …BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 3>, integer_sequence<char, 0, 1, 2… in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 4>, integer_sequence<char, 0, 1, 2… in main() [all …]
|
D | mp_apply_q.cpp | 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<mp_list>, L1>, mp_list<>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<std::tuple>, L1>, std::tuple<>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<X>, L1>, X<>>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<Y>, L1>, Y<>>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<Q, L1>, X<>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<mp_list>, L2>, mp_list<char>>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<std::tuple>, L2>, std::tuple<char>>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<X>, L2>, X<char>>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<mp_quote<Y>, L2>, Y<char>>)); in main() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply_q<Q, L2>, X<char>>)); in main() [all …]
|
D | mp_is_set.cpp | 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<void>, mp_false>)); in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<int>, mp_false>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<char[]>, mp_false>)); in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<>>, mp_true>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void>>, mp_true>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, void>>, mp_false>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, void, void>>, mp_false>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, void, void, void>>, mp_false>)); in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, int>>, mp_true>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, int, void>>, mp_false>)); in main() [all …]
|
D | integral.cpp | 19 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bool<false>, std::integral_constant<bool, false>>)); in main() 20 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bool<true>, std::integral_constant<bool, true>>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_false, std::integral_constant<bool, false>>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_true, std::integral_constant<bool, true>>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_int<0>, std::integral_constant<int, 0>>)); in main() 31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_int<814>, std::integral_constant<int, 814>>)); in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_int<-144>, std::integral_constant<int, -144>>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_size_t<0>, std::integral_constant<std::size_t, 0>>)); in main() 37 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_size_t<1972>, std::integral_constant<std::size_t, 1972>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_false>, mp_false>)); in main() [all …]
|
D | mp_less.cpp | 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<0>, mp_int<-1>>, mp_false>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<0>, mp_int<0>>, mp_false>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<0>, mp_int<1>>, mp_true>)); in main() 31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<0>, mp_int<2>>, mp_true>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<-1>, mp_int<-2>>, mp_false>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<-1>, mp_int<-1>>, mp_false>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<-1>, mp_int<0>>, mp_true>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<-1>, mp_int<1>>, mp_true>)); in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<1>, mp_int<-1>>, mp_false>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<1>, mp_int<0>>, mp_false>)); in main() [all …]
|
/third_party/boost/libs/utility/test/ |
D | result_of_test.cpp | 179 BOOST_STATIC_ASSERT((is_same<result_of<int_result_type(float)>::type, int>::value)); in main() 180 BOOST_STATIC_ASSERT((is_same<result_of<int_result_of(double)>::type, int>::value)); in main() 181 BOOST_STATIC_ASSERT((is_same<result_of<const int_result_of(double)>::type, int>::value)); in main() 182 …BOOST_STATIC_ASSERT((is_same<result_of<int_result_type_template<void>(float)>::type, int>::value)); in main() 183 BOOST_STATIC_ASSERT((is_same<result_of<int_result_of_template<void>(double)>::type, int>::value)); in main() 184 …BOOST_STATIC_ASSERT((is_same<result_of<const int_result_of_template<void>(double)>::type, int>::va… in main() 186 BOOST_STATIC_ASSERT((is_same<tr1_result_of<int_result_type(float)>::type, int>::value)); in main() 187 BOOST_STATIC_ASSERT((is_same<tr1_result_of<int_result_of(double)>::type, int>::value)); in main() 188 BOOST_STATIC_ASSERT((is_same<tr1_result_of<const int_result_of(double)>::type, int>::value)); in main() 189 …BOOST_STATIC_ASSERT((is_same<tr1_result_of<int_result_type_template<void>(float)>::type, int>::val… in main() [all …]
|
/third_party/boost/libs/callable_traits/test/ |
D | add_member_lvalue_reference.cpp | 35 CT_ASSERT(std::is_same<l, TRAIT(add_member_lvalue_reference, f)>{}); in main() 36 CT_ASSERT(std::is_same<cl, TRAIT(add_member_lvalue_reference, c)>{}); in main() 37 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, v)>{}); in main() 38 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, v)>{}); in main() 39 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_lvalue_reference, cv)>{}); in main() 40 CT_ASSERT(std::is_same<l, TRAIT(add_member_lvalue_reference, l)>{}); in main() 41 CT_ASSERT(std::is_same<cl, TRAIT(add_member_lvalue_reference, cl)>{}); in main() 42 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, vl)>{}); in main() 43 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_lvalue_reference, cvl)>{}); in main() 44 CT_ASSERT(!std::is_same<r, TRAIT(add_member_lvalue_reference, r)>{}); in main() [all …]
|
D | add_member_rvalue_reference.cpp | 35 CT_ASSERT(std::is_same<r, TRAIT(add_member_rvalue_reference, f)>{}); in main() 36 CT_ASSERT(std::is_same<cr, TRAIT(add_member_rvalue_reference, c)>{}); in main() 37 CT_ASSERT(std::is_same<vr, TRAIT(add_member_rvalue_reference, v)>{}); in main() 38 CT_ASSERT(std::is_same<cvr, TRAIT(add_member_rvalue_reference, cv)>{}); in main() 39 CT_ASSERT(std::is_same<l, TRAIT(add_member_rvalue_reference, l)>{}); in main() 40 CT_ASSERT(std::is_same<cl, TRAIT(add_member_rvalue_reference, cl)>{}); in main() 41 CT_ASSERT(std::is_same<vl, TRAIT(add_member_rvalue_reference, vl)>{}); in main() 42 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_rvalue_reference, cvl)>{}); in main() 43 CT_ASSERT(std::is_same<r, TRAIT(add_member_rvalue_reference, r)>{}); in main() 44 CT_ASSERT(!std::is_same<r, TRAIT(add_member_rvalue_reference, l)>{}); in main() [all …]
|
D | remove_varargs.cpp | 46 CT_ASSERT(std::is_same<f, TRAIT(remove_varargs, va_f)>{}); in main() 47 CT_ASSERT(std::is_same<l, TRAIT(remove_varargs, va_l)>{}); in main() 48 CT_ASSERT(std::is_same<r, TRAIT(remove_varargs, va_r)>{}); in main() 49 CT_ASSERT(std::is_same<c, TRAIT(remove_varargs, va_c)>{}); in main() 50 CT_ASSERT(std::is_same<cl, TRAIT(remove_varargs, va_cl)>{}); in main() 51 CT_ASSERT(std::is_same<cr, TRAIT(remove_varargs, va_cr)>{}); in main() 52 CT_ASSERT(std::is_same<v, TRAIT(remove_varargs, va_v)>{}); in main() 53 CT_ASSERT(std::is_same<vl, TRAIT(remove_varargs, va_vl)>{}); in main() 54 CT_ASSERT(std::is_same<vr, TRAIT(remove_varargs, va_vr)>{}); in main() 55 CT_ASSERT(std::is_same<cv, TRAIT(remove_varargs, va_cv)>{}); in main() [all …]
|
D | add_varargs.cpp | 44 CT_ASSERT(std::is_same<va_f, TRAIT(add_varargs, f)>{}); in main() 45 CT_ASSERT(std::is_same<va_l, TRAIT(add_varargs, l)>{}); in main() 46 CT_ASSERT(std::is_same<va_r, TRAIT(add_varargs, r)>{}); in main() 47 CT_ASSERT(std::is_same<va_c, TRAIT(add_varargs, c)>{}); in main() 48 CT_ASSERT(std::is_same<va_cl, TRAIT(add_varargs, cl)>{}); in main() 49 CT_ASSERT(std::is_same<va_cr, TRAIT(add_varargs, cr)>{}); in main() 50 CT_ASSERT(std::is_same<va_v, TRAIT(add_varargs, v)>{}); in main() 51 CT_ASSERT(std::is_same<va_vl, TRAIT(add_varargs, vl)>{}); in main() 52 CT_ASSERT(std::is_same<va_vr, TRAIT(add_varargs, vr)>{}); in main() 53 CT_ASSERT(std::is_same<va_cv, TRAIT(add_varargs, cv)>{}); in main() [all …]
|
/third_party/boost/libs/lambda/test/ |
D | result_of_tests.cpp | 43 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 48 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 49 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 54 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 55 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 56 BOOST_MPL_ASSERT((boost::is_same<A3, int>)); 61 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 62 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 63 BOOST_MPL_ASSERT((boost::is_same<A3, int>)); 64 BOOST_MPL_ASSERT((boost::is_same<A4, int>)); [all …]
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | result_of_tests.cpp | 43 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 48 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 49 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 54 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 55 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 56 BOOST_MPL_ASSERT((boost::is_same<A3, int>)); 61 BOOST_MPL_ASSERT((boost::is_same<A1, int>)); 62 BOOST_MPL_ASSERT((boost::is_same<A2, int>)); 63 BOOST_MPL_ASSERT((boost::is_same<A3, int>)); 64 BOOST_MPL_ASSERT((boost::is_same<A4, int>)); [all …]
|
/third_party/boost/libs/variant2/test/ |
D | variant_alternative.cpp | 23 BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void>>, void>)); in main() 24 … BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void> const>, void const>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void> volatile>, void volatil… in main() 26 …BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void> const volatile>, void c… in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<char>&>, char&>)); in main() 29 …BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<char> const&>, char const&>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<char>&&>, char&&>)); in main() 31 …BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<char> const&&>, char const&&>… in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void, int>>, void>)); in main() 34 …BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void, int> const>, void const… in main() [all …]
|
/third_party/boost/libs/function_types/test/synthesis/ |
D | transformation.cpp | 19 using boost::is_same; 28 BOOST_MPL_ASSERT(( is_same< func1, ft::function_type<func1>::type > )); 29 BOOST_MPL_ASSERT(( is_same< func1, ft::function_type<func_ptr1>::type > )); 30 BOOST_MPL_ASSERT(( is_same< func1, ft::function_type<func_ref1>::type > )); 31 BOOST_MPL_ASSERT(( is_same< func1, ft::function_type<mem_func_ptr1>::type > )); 33 BOOST_MPL_ASSERT(( is_same< func_ptr1, ft::function_pointer<func1>::type > )); 34 BOOST_MPL_ASSERT(( is_same< func_ptr1, ft::function_pointer<func_ptr1>::type > )); 35 BOOST_MPL_ASSERT(( is_same< func_ptr1, ft::function_pointer<func_ref1>::type > )); 36 BOOST_MPL_ASSERT(( is_same< func_ptr1, ft::function_pointer<mem_func_ptr1>::type > )); 38 BOOST_MPL_ASSERT(( is_same< func_ref1, ft::function_reference<func1>::type > )); [all …]
|
/third_party/boost/libs/proto/test/ |
D | deduce_domain.cpp | 57 using boost::is_same; in test1() 60 BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<D0, D0, D0>::type, D0>)); in test1() 61 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<proto::default_domain, D0, D0>::type, D0>)… in test1() 62 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<D0, proto::default_domain, D0>::type, D0>)… in test1() 63 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<D0, D0, proto::default_domain>::type, D0>)… in test1() 64 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<D0, proto::default_domain, proto::default_… in test1() 65 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<proto::default_domain, D0, proto::default_… in test1() 66 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<proto::default_domain, proto::default_doma… in test1() 67 …BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<proto::default_domain, proto::default_doma… in test1() 69 BOOST_MPL_ASSERT((is_same<proto::detail::common_domain3<DD0, D0, D0>::type, D0>)); in test1() [all …]
|