/third_party/boost/libs/mp11/test/ |
D | mp_take.cpp | 20 struct X3 {}; struct 37 using L2 = mp_list<X1, X2, X3, X4, X5>; in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 3>, mp_list<X1, X2, X3>>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 4>, mp_list<X1, X2, X3, X4>>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 5>, mp_list<X1, X2, X3, X4, X5>>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<3>>, mp_list<X1, X2, X3>>)); in main() 50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<4>>, mp_list<X1, X2, X3, X4>>)); in main() 51 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<5>>, mp_list<X1, X2, X3, X4, X5>>)); in main() 53 …using L3 = mp_list<X1, X2, X3, X4, X5, X1, X2, X3, X4, X5, X1, X2, X3, X4, X5, X1, X2, X3, X4, X5>; in main() 55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L3, 6>, mp_list<X1, X2, X3, X4, X5, X1>>)); in main() [all …]
|
D | mp_remove.cpp | 18 struct X3 {}; struct 30 using L2 = mp_list<X1, X2, X3, X2, X3, X3>; in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X1>, mp_list<X2, X3, X2, X3, X3>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X2>, mp_list<X1, X3, X3, X3>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X3>, mp_list<X1, X2, X2>>)); in main() 43 using L2 = std::tuple<X1, X2, X3, X2, X3, X3>; in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X1>, std::tuple<X2, X3, X2, X3, X3>>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X2>, std::tuple<X1, X3, X3, X3>>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_remove<L2, X3>, std::tuple<X1, X2, X2>>)); in main()
|
D | mp_replace.cpp | 19 struct X3 {}; struct 31 using L2 = mp_list<X1, X2, X3, X2, X3, X3>; in main() 34 …OST_TEST_TRAIT_TRUE((std::is_same<mp_replace<L2, X1, int[]>, mp_list<int[], X2, X3, X2, X3, X3>>)); in main() 35 …_TEST_TRAIT_TRUE((std::is_same<mp_replace<L2, X2, int[]>, mp_list<X1, int[], X3, int[], X3, X3>>)); in main() 36 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace<L2, X3, int[]>, mp_list<X1, X2, int[], X2, int[], i… in main() 44 using L2 = std::tuple<X1, X2, X3, X2, X3, X3>; in main() 47 …_TEST_TRAIT_TRUE((std::is_same<mp_replace<L2, X1, int[]>, std::tuple<int[], X2, X3, X2, X3, X3>>)); in main() 48 …ST_TRAIT_TRUE((std::is_same<mp_replace<L2, X2, int[]>, std::tuple<X1, int[], X3, int[], X3, X3>>)); in main() 49 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace<L2, X3, int[]>, std::tuple<X1, X2, int[], X2, int[]… in main()
|
D | mp_reverse.cpp | 19 struct X3 {}; struct 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3>>, mp_list<X3, X2, X1>>)); in main() 42 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4>>, mp_list<X4, X3, X2, X1>>)… in main() 43 …ST_TEST_TRAIT_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5>>, mp_list<X5, X4, X3, X2, … in main() 44 …EST_TRAIT_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6>>, mp_list<X6, X5, X4, X3, … in main() 45 …TRAIT_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6, X7>>, mp_list<X7, X6, X5, X4, … in main() 46 …T_TRUE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6, X7, X8>>, mp_list<X8, X7, X6, X5, … in main() 47 …UE((std::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6, X7, X8, X9>>, mp_list<X9, X8, X7, X6, … in main() 48 …td::is_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6, X7, X8, X9, X10>>, mp_list<X10, X9, X8, X7,… in main() 49 …s_same<mp_reverse<mp_list<X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11>>, mp_list<X11, X10, X9, X8… in main() [all …]
|
D | mp_bind.cpp | 20 struct X3 {}; struct 35 BOOST_TEST_TRAIT_TRUE((std::is_same<_1::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X1>)); in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<_2::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X2>)); in main() 40 BOOST_TEST_TRAIT_TRUE((std::is_same<_3::fn<X1, X2, X3>, X3>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<_3::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X3>)); in main() 43 BOOST_TEST_TRAIT_TRUE((std::is_same<_4::fn<X1, X2, X3, X4>, X4>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<_4::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X4>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<_5::fn<X1, X2, X3, X4, X5>, X5>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<_5::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X5>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<_6::fn<X1, X2, X3, X4, X5, X6>, X6>)); in main() [all …]
|
D | mp_insert.cpp | 20 struct X3 {}; struct 46 using L2 = mp_list<X1, X2, X3, X4, X5>; in main() 55 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 0, Y1, Y2>, mp_list<Y1, Y2, X1, X2, X3, X4, X5… in main() 56 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 1, Y1, Y2>, mp_list<X1, Y1, Y2, X2, X3, X4, X5… in main() 57 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 2, Y1, Y2>, mp_list<X1, X2, Y1, Y2, X3, X4, X5… in main() 58 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 3, Y1, Y2>, mp_list<X1, X2, X3, Y1, Y2, X4, X5… in main() 59 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 4, Y1, Y2>, mp_list<X1, X2, X3, X4, Y1, Y2, X5… in main() 60 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 5, Y1, Y2>, mp_list<X1, X2, X3, X4, X5, Y1, Y2… in main() 69 …AIT_TRUE((std::is_same<mp_insert<L2, mp_size_t<0>, Y1, Y2>, mp_list<Y1, Y2, X1, X2, X3, X4, X5>>)); in main() 70 …AIT_TRUE((std::is_same<mp_insert<L2, mp_size_t<1>, Y1, Y2>, mp_list<X1, Y1, Y2, X2, X3, X4, X5>>)); in main() [all …]
|
D | mp_rotate_left.cpp | 20 struct X3 {}; struct 46 using L2 = mp_list<X1, X2, X3, X4, X5>; in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 0>, mp_list<X1, X2, X3, X4, X5>>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 1>, mp_list<X2, X3, X4, X5, X1>>)); in main() 50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 2>, mp_list<X3, X4, X5, X1, X2>>)); in main() 51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 3>, mp_list<X4, X5, X1, X2, X3>>)); in main() 52 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 4>, mp_list<X5, X1, X2, X3, X4>>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 5>, mp_list<X1, X2, X3, X4, X5>>)); in main() 54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 6>, mp_list<X2, X3, X4, X5, X1>>)); in main() 55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_left_c<L2, 7>, mp_list<X3, X4, X5, X1, X2>>)); in main() [all …]
|
D | mp_rotate_right.cpp | 20 struct X3 {}; struct 46 using L2 = mp_list<X1, X2, X3, X4, X5>; in main() 48 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 0>, mp_list<X1, X2, X3, X4, X5>>)); in main() 49 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 1>, mp_list<X5, X1, X2, X3, X4>>)); in main() 50 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 2>, mp_list<X4, X5, X1, X2, X3>>)); in main() 51 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 3>, mp_list<X3, X4, X5, X1, X2>>)); in main() 52 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 4>, mp_list<X2, X3, X4, X5, X1>>)); in main() 53 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 5>, mp_list<X1, X2, X3, X4, X5>>)); in main() 54 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 6>, mp_list<X5, X1, X2, X3, X4>>)); in main() 55 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rotate_right_c<L2, 7>, mp_list<X4, X5, X1, X2, X3>>)); in main() [all …]
|
D | mp_erase.cpp | 20 struct X3 {}; struct 44 using L2 = mp_list<X1, X2, X3, X4, X5>; in main() 60 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 0, 1>, mp_list<X2, X3, X4, X5>>)); in main() 61 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 1, 2>, mp_list<X1, X3, X4, X5>>)); in main() 63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 3, 4>, mp_list<X1, X2, X3, X5>>)); in main() 64 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase_c<L2, 4, 5>, mp_list<X1, X2, X3, X4>>)); in main() 66 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _0, _1>, mp_list<X2, X3, X4, X5>>)); in main() 67 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _1, _2>, mp_list<X1, X3, X4, X5>>)); in main() 69 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _3, _4>, mp_list<X1, X2, X3, X5>>)); in main() 70 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_erase<L2, _4, _5>, mp_list<X1, X2, X3, X4>>)); in main() [all …]
|
D | mp_bind_q.cpp | 17 struct X3 {}; struct 34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _1>::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>,… in main() 37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _2>::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>,… in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _3>::fn<X1, X2, X3>, X3*>)); in main() 40 …EST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _3>::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>, X3*>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _4>::fn<X1, X2, X3, X4>, X4*>)); in main() 43 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _4>::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>,… in main() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _5>::fn<X1, X2, X3, X4, X5>, X5*>)); in main() 46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _5>::fn<X1, X2, X3, X4, X5, X6, X7, X8, X9>,… in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_bind_q<Q_addp, _6>::fn<X1, X2, X3, X4, X5, X6>, X6*>)); in main() [all …]
|
D | mp_transform_third.cpp | 19 struct X3 {}; struct 32 using L3 = mp_list<X1, X2, X3>; in main() 34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_third<L3, add_pointer_t>, mp_list<X1, X2, X3*>>)); in main() 35 …OST_TEST_TRAIT_TRUE((std::is_same<mp_transform_third_q<L3, Q_add_pointer>, mp_list<X1, X2, X3*>>)); in main() 37 using L4 = mp_list<X1, X2, X3, X4>; in main() 39 …T_TEST_TRAIT_TRUE((std::is_same<mp_transform_third<L4, add_pointer_t>, mp_list<X1, X2, X3*, X4>>)); in main() 40 …TEST_TRAIT_TRUE((std::is_same<mp_transform_third_q<L4, Q_add_pointer>, mp_list<X1, X2, X3*, X4>>)); in main() 44 using L3 = std::tuple<X1, X2, X3>; in main() 46 …ST_TEST_TRAIT_TRUE((std::is_same<mp_transform_third<L3, add_pointer_t>, std::tuple<X1, X2, X3*>>)); in main() 47 …_TEST_TRAIT_TRUE((std::is_same<mp_transform_third_q<L3, Q_add_pointer>, std::tuple<X1, X2, X3*>>)); in main() [all …]
|
D | mp_transform_front.cpp | 19 struct X3 {}; struct 50 using L3 = mp_list<X1, X2, X3>; in main() 52 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front<L3, add_pointer_t>, mp_list<X1*, X2, X3>>)); in main() 53 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first<L3, add_pointer_t>, mp_list<X1*, X2, X3>>)); in main() 55 …OST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front_q<L3, Q_add_pointer>, mp_list<X1*, X2, X3>>)); in main() 56 …OST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first_q<L3, Q_add_pointer>, mp_list<X1*, X2, X3>>)); in main() 58 using L4 = mp_list<X1, X2, X3, X4>; in main() 60 …T_TEST_TRAIT_TRUE((std::is_same<mp_transform_front<L4, add_pointer_t>, mp_list<X1*, X2, X3, X4>>)); in main() 61 …T_TEST_TRAIT_TRUE((std::is_same<mp_transform_first<L4, add_pointer_t>, mp_list<X1*, X2, X3, X4>>)); in main() 63 …TEST_TRAIT_TRUE((std::is_same<mp_transform_front_q<L4, Q_add_pointer>, mp_list<X1*, X2, X3, X4>>)); in main() [all …]
|
D | mp_append.cpp | 18 struct X3 {}; struct 44 …mp_append<std::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>>, std::tuple<X1, X2, X3>>)); in main() 45 …d::tuple<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tuple<X4>>, std::tuple<X1, X2, X3… in main() 46 …<>, std::tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tuple<X4>, std::tuple<X5>>, std::tuple<X1… in main() 47 …:tuple<X1>, std::tuple<X2>, std::tuple<X3>, std::tuple<X4>, std::tuple<X5>, std::tuple<X6>>, std::… in main() 54 …_same<mp_append<std::tuple<>, mp_list<X1>, std::tuple<X2>, mp_list<X3>>, std::tuple<X1, X2, X3>>)); in main() 55 …end<std::tuple<>, mp_list<X1>, std::tuple<X2>, mp_list<X3>, std::tuple<X4>>, std::tuple<X1, X2, X3… in main() 56 …::tuple<>, mp_list<X1>, std::tuple<X2>, mp_list<X3>, std::tuple<X4>, mp_list<X5>>, std::tuple<X1, … in main() 57 …>, mp_list<X1>, std::tuple<X2>, mp_list<X3>, std::tuple<X4>, mp_list<X5>, std::tuple<X6>>, std::tu… in main() 62 …is_same<mp_append<std::tuple<>, std::pair<X1, X2>, std::pair<X3, X4>>, std::tuple<X1, X2, X3, X4>>… in main() [all …]
|
D | mp_fold_q.cpp | 20 struct X3 {}; struct 37 …_TEST_TRAIT_TRUE((std::is_same<mp_fold_q<mp_list<X1, X2, X3>, void, Q>, F<F<F<void, X1>, X2>, X3>>… in main() 38 …ST_TRAIT_TRUE((std::is_same<mp_fold_q<mp_list<X1, X2, X3, X4>, void, Q>, F<F<F<F<void, X1>, X2>, X… in main() 45 …ST_TRAIT_TRUE((std::is_same<mp_fold_q<std::tuple<X1, X2, X3>, void, Q>, F<F<F<void, X1>, X2>, X3>>… in main() 46 …TRAIT_TRUE((std::is_same<mp_fold_q<std::tuple<X1, X2, X3, X4>, void, Q>, F<F<F<F<void, X1>, X2>, X… in main() 52 …E((std::is_same<mp_fold_q<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_quote<mp_push_back>>, mp_list<… in main() 58 …UE((std::is_same<mp_fold_q<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_quote<mp_push_front>>, mp_lis… in main()
|
D | mp_transform_second.cpp | 19 struct X3 {}; struct 37 using L3 = mp_list<X1, X2, X3>; in main() 39 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_second<L3, add_pointer_t>, mp_list<X1, X2*, X3>>)); in main() 40 …ST_TEST_TRAIT_TRUE((std::is_same<mp_transform_second_q<L3, Q_add_pointer>, mp_list<X1, X2*, X3>>)); in main() 42 using L4 = mp_list<X1, X2, X3, X4>; in main() 44 …_TEST_TRAIT_TRUE((std::is_same<mp_transform_second<L4, add_pointer_t>, mp_list<X1, X2*, X3, X4>>)); in main() 45 …EST_TRAIT_TRUE((std::is_same<mp_transform_second_q<L4, Q_add_pointer>, mp_list<X1, X2*, X3, X4>>)); in main() 54 using L3 = std::tuple<X1, X2, X3>; in main() 56 …T_TEST_TRAIT_TRUE((std::is_same<mp_transform_second<L3, add_pointer_t>, std::tuple<X1, X2*, X3>>)); in main() 57 …TEST_TRAIT_TRUE((std::is_same<mp_transform_second_q<L3, Q_add_pointer>, std::tuple<X1, X2*, X3>>)); in main() [all …]
|
D | mp_reverse_fold_q.cpp | 20 struct X3 {}; struct 37 …T_TRAIT_TRUE((std::is_same<mp_reverse_fold_q<mp_list<X1, X2, X3>, void, Q>, F<X1, F<X2, F<X3, void… in main() 38 …TRAIT_TRUE((std::is_same<mp_reverse_fold_q<mp_list<X1, X2, X3, X4>, void, Q>, F<X1, F<X2, F<X3, F<… in main() 45 …RAIT_TRUE((std::is_same<mp_reverse_fold_q<std::tuple<X1, X2, X3>, void, Q>, F<X1, F<X2, F<X3, void… in main() 46 …IT_TRUE((std::is_same<mp_reverse_fold_q<std::tuple<X1, X2, X3, X4>, void, Q>, F<X1, F<X2, F<X3, F<… in main() 56 …_same<mp_reverse_fold_q<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_bind<mp_push_back, _2, _1>>, mp_… in main() 62 …ame<mp_reverse_fold_q<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_bind<mp_push_front, _2, _1>>, mp_l… in main()
|
D | mp_replace_front.cpp | 19 struct X3 {}; struct 39 using L3 = mp_list<X1, X2, X3>; in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_front<L3, void>, mp_list<void, X2, X3>>)); in main() 42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_first<L3, void>, mp_list<void, X2, X3>>)); in main() 44 using L4 = mp_list<X1, X2, X3, X4>; in main() 46 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_front<L4, void>, mp_list<void, X2, X3, X4>>)); in main() 47 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_first<L4, void>, mp_list<void, X2, X3, X4>>)); in main() 61 using L3 = std::tuple<X1, X2, X3>; in main() 63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_front<L3, void>, std::tuple<void, X2, X3>>)); in main() 64 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_first<L3, void>, std::tuple<void, X2, X3>>)); in main() [all …]
|
D | mp_fold.cpp | 19 struct X3 {}; struct 35 …ST_TEST_TRAIT_TRUE((std::is_same<mp_fold<mp_list<X1, X2, X3>, void, F>, F<F<F<void, X1>, X2>, X3>>… in main() 36 …TEST_TRAIT_TRUE((std::is_same<mp_fold<mp_list<X1, X2, X3, X4>, void, F>, F<F<F<F<void, X1>, X2>, X… in main() 43 …TEST_TRAIT_TRUE((std::is_same<mp_fold<std::tuple<X1, X2, X3>, void, F>, F<F<F<void, X1>, X2>, X3>>… in main() 44 …T_TRAIT_TRUE((std::is_same<mp_fold<std::tuple<X1, X2, X3, X4>, void, F>, F<F<F<F<void, X1>, X2>, X… in main() 50 …AIT_TRUE((std::is_same<mp_fold<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_push_back>, mp_list<X1, X… in main() 56 …RAIT_TRUE((std::is_same<mp_fold<std::tuple<X1, X2, X3, X4>, mp_list<>, mp_push_front>, mp_list<X4,… in main()
|
D | mp_product.cpp | 20 struct X3 {}; struct 40 using L1 = std::tuple<X1, X2, X3>; in main() 44 …F3<X1, Y1, Z1>, F3<X1, Y1, Z2>, F3<X2, Y1, Z1>, F3<X2, Y1, Z2>, F3<X3, Y1, Z1>, F3<X3, Y1, Z2>>>)); in main() 45 …F3<X1, Y1, Z1>, F3<X1, Y1, Z2>, F3<X2, Y1, Z1>, F3<X2, Y1, Z2>, F3<X3, Y1, Z1>, F3<X3, Y1, Z2>>>)); in main() 49 using L1 = std::tuple<X1, X2, X3>; in main() 58 using L1 = std::tuple<X1, X2, X3>; in main() 59 using L2 = mp_list<X1, X2, X3>; in main() 61 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_product<F1, L1>, std::tuple<F1<X1>, F1<X2>, F1<X3>>>)); in main() 62 …EST_TRAIT_TRUE((std::is_same<mp_product_q<mp_quote<F1>, L1>, std::tuple<F1<X1>, F1<X2>, F1<X3>>>)); in main() 64 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_product<F1, L2>, mp_list<F1<X1>, F1<X2>, F1<X3>>>)); in main() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10SwizzlePattern.h | 3745 …{X0, X1, X2, X3, Y0, Y1, Y2, … 3746 … X1, X2, Y0, Y1, Y2, X3, }, // 1 3750 …{X0, X1, X2, Y1, Y0, Y2, X3, … 3753 …{X0, Y0, X1, Y1, X2, Y2, X3, … 3754 … Y0, X1, Y1, X2, Y2, X3, }, // 9 3757 …{X0, Y0, X1, Y1, X2, Y2, X3, … 3758 … Y0, X1, Y1, X2, Y2, X3, }, // 13 3773 …{X0, X1, X2, Y1, Y0, Y2, X3, … 3792 {Y3, X3, Y4, X4, }, // 3 3793 {Y2, X3, Y3, X4, }, // 4 [all …]
|
/third_party/boost/libs/variant2/test/ |
D | variant_valueless.cpp | 71 struct X3 struct 73 X3(); 75 X3( X3 const& ) {} in X3() function 76 X3( X3&& ) {} in X3() argument 78 X3( E3 ) noexcept {} in X3() argument 79 X3( E3x ) { throw std::runtime_error( "X3(E3x)" ); } in X3() function 81 X3& operator=( X3 const& ) = default; 82 X3& operator=( X3&& ) = default; 85 X3::X3() {} in X3() function in X3 87 STATIC_ASSERT( !std::is_nothrow_default_constructible<X3>::value ); [all …]
|
/third_party/boost/boost/hana/detail/variadic/ |
D | split_at.hpp | 23 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6… 24 …constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, X5&& x5, X6&& x6, X… in operator ()() 29 static_cast<X3&&>(x3), in operator ()() 72 template <typename F, typename X1, typename X2, typename X3, typename ...Xs> 73 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, Xs&& ...xs) const { in operator ()() 77 static_cast<X3&&>(x3) in operator ()() 84 template <typename F, typename X1, typename X2, typename X3, typename X4, typename ...Xs> 85 … constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, Xs&& ...xs) const { in operator ()() 89 static_cast<X3&&>(x3), in operator ()() 97 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename ..… [all …]
|
/third_party/boost/libs/hana/include/boost/hana/detail/variadic/ |
D | split_at.hpp | 23 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6… 24 …constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, X5&& x5, X6&& x6, X… in operator ()() 29 static_cast<X3&&>(x3), in operator ()() 72 template <typename F, typename X1, typename X2, typename X3, typename ...Xs> 73 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, Xs&& ...xs) const { in operator ()() 77 static_cast<X3&&>(x3) in operator ()() 84 template <typename F, typename X1, typename X2, typename X3, typename X4, typename ...Xs> 85 … constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, Xs&& ...xs) const { in operator ()() 89 static_cast<X3&&>(x3), in operator ()() 97 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename ..… [all …]
|
/third_party/boost/libs/hana/include/boost/hana/detail/variadic/reverse_apply/ |
D | unrolled.hpp | 39 template <typename F, typename X1, typename X2, typename X3> 40 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3) const { in operator ()() 42 static_cast<X3&&>(x3), in operator ()() 48 template <typename F, typename X1, typename X2, typename X3, typename X4> 49 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4) const { in operator ()() 52 static_cast<X3&&>(x3), in operator ()() 58 template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5> 59 … constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, X5&& x5) const { in operator ()() 63 static_cast<X3&&>(x3), in operator ()() 69 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6… [all …]
|
/third_party/boost/boost/hana/detail/variadic/reverse_apply/ |
D | unrolled.hpp | 39 template <typename F, typename X1, typename X2, typename X3> 40 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3) const { in operator ()() 42 static_cast<X3&&>(x3), in operator ()() 48 template <typename F, typename X1, typename X2, typename X3, typename X4> 49 constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4) const { in operator ()() 52 static_cast<X3&&>(x3), in operator ()() 58 template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5> 59 … constexpr decltype(auto) operator()(F&& f, X1&& x1, X2&& x2, X3&& x3, X4&& x4, X5&& x5) const { in operator ()() 63 static_cast<X3&&>(x3), in operator ()() 69 …template <typename F, typename X1, typename X2, typename X3, typename X4, typename X5, typename X6… [all …]
|