/third_party/boost/boost/mp11/detail/ |
D | mp_append.hpp | 35 using type = mp_list<>; 65 …mp_list<>, class L2 = mp_list<>, class L3 = mp_list<>, class L4 = mp_list<>, class L5 = mp_list<>,… 89 …mp_list<>, class L01 = mp_list<>, class L02 = mp_list<>, class L03 = mp_list<>, class L04 = mp_lis… 90 …mp_list<>, class L11 = mp_list<>, class L12 = mp_list<>, class L13 = mp_list<>, class L14 = mp_lis… 91 …mp_list<>, class L21 = mp_list<>, class L22 = mp_list<>, class L23 = mp_list<>, class L24 = mp_lis… 92 …mp_list<>, class L31 = mp_list<>, class L32 = mp_list<>, class L33 = mp_list<>, class L34 = mp_lis… 93 …mp_list<>, class L41 = mp_list<>, class L42 = mp_list<>, class L43 = mp_list<>, class L44 = mp_lis… 94 …mp_list<>, class L51 = mp_list<>, class L52 = mp_list<>, class L53 = mp_list<>, class L54 = mp_lis… 95 …mp_list<>, class L61 = mp_list<>, class L62 = mp_list<>, class L63 = mp_list<>, class L64 = mp_lis… 96 …mp_list<>, class L71 = mp_list<>, class L72 = mp_list<>, class L73 = mp_list<>, class L74 = mp_lis… [all …]
|
/third_party/boost/libs/mp11/test/ |
D | mp_starts_with.cpp | 19 using boost::mp11::mp_list; in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_starts_with<mp_list<>, in main() 24 mp_list<> >, mp_true>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_starts_with<mp_list<>, in main() 26 mp_list<int> >, mp_false>)); in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_starts_with<mp_list<int>, in main() 28 mp_list<> >, mp_true>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_starts_with<mp_list<>, in main() 32 mp_list<> >, mp_true>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_starts_with<mp_list<int>, in main() [all …]
|
D | mp_map_replace.cpp | 20 using boost::mp11::mp_list; in main() 23 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<mp_list<>, mp_list<void>>, mp_list<mp_list<void… in main() 28 using M = mp_list<std::pair<int, int const>, std::pair<long, long const>>; in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, mp_list<char>>, mp_push_back<M, mp_list<char… in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, mp_list<int>>, mp_list<mp_list<int>, std::pa… in main() 33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, std::pair<long, float>>, mp_list<std::pair<i… in main() 39 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, mp_list<char>>, mp_push_back<M, mp_list<char… in main() 41 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, mp_list<int>>, std::tuple<mp_list<int>, std:… in main() 46 … using M = mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>; in main() 48 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_replace<M, mp_list<char>>, mp_push_back<M, mp_list<char… in main() [all …]
|
D | mp_set_intersection.cpp | 19 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<>, mp_list<>>)); in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<>>, mp_list<>>)); in main() 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void>>, mp_list<void>>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int>>, mp_list<void, int>>)); in main() 26 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>>, mp_list<void, … in main() 33 …T_TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<>>, mp_l… in main() 34 …TEST_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<int>>, mp_… in main() 35 …_TRAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<float, void>>,… in main() 36 …RAIT_TRUE((std::is_same<mp_set_intersection<mp_list<void, int, float>, std::tuple<float, void, int… in main() [all …]
|
D | mp_power_set.cpp | 17 using boost::mp11::mp_list; in main() 20 BOOST_TEST_TRAIT_TRUE((std::is_same< mp_power_set< mp_list<> >, mp_list<mp_list<>> >)); in main() 21 …BOOST_TEST_TRAIT_TRUE((std::is_same< mp_power_set< mp_list<X1> >, mp_list< mp_list<>, mp_list<X1> … in main() 22 …TRAIT_TRUE((std::is_same< mp_power_set< mp_list<X2, X1> >, mp_list< mp_list<>, mp_list<X1>, mp_lis… in main() 23 …TRAIT_TRUE((std::is_same< mp_power_set< mp_list<X1, X1> >, mp_list< mp_list<>, mp_list<X1>, mp_lis… in main() 24 …_set< mp_list<X3, X2, X1> >, mp_list< mp_list<>, mp_list<X1>, mp_list<X2>, mp_list<X2, X1>, mp_lis… in main()
|
D | mp_set_difference.cpp | 19 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<>>, mp_list<>>)); in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void>>, mp_list<void>>)); in main() 24 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int>>, mp_list<void, int>>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>>, mp_list<void, in… in main() 32 …OST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<>>, mp_l… in main() 33 …T_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<int>>, mp_… in main() 34 …ST_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<float, void>>,… in main() 35 …_TRAIT_TRUE((std::is_same<mp_set_difference<mp_list<void, int, float>, std::tuple<float, void, int… in main() 37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_difference<std::tuple<>, mp_list<>, std::pair<float, in… in main() [all …]
|
D | mp_map_find.cpp | 20 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<mp_list<>, char>, void>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<mp_list<std::pair<int, int const>, std::pair<long,… in main() 26 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<mp_list<std::pair<int, int const>, std::pair<long,… in main() 27 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<mp_list<std::pair<int, int const>, std::pair<long,… in main() 37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<mp_list<mp_list<int>, mp_list<long, long>, mp_list… in main() 38 …((std::is_same<mp_map_find<mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long… in main() 39 …(std::is_same<mp_map_find<mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long,… in main() 40 …td::is_same<mp_map_find<mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, l… in main() 42 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_find<std::tuple<mp_list<int>, std::pair<long, long>, st… in main() [all …]
|
D | mp_set_union.cpp | 19 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<>, mp_list<>>)); in main() 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<>>, mp_list<>>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void>>, mp_list<void>>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void, int>>, mp_list<void, int>>)); in main() 27 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void, int, float>>, mp_list<void, int, fl… in main() 34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<>, std::pair<float, int>>, mp_list<float,… in main() 35 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void>, std::pair<float, int>>, mp_list<vo… in main() 36 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void, int>, std::pair<float, int>>, mp_li… in main() 37 …OST_TEST_TRAIT_TRUE((std::is_same<mp_set_union<mp_list<void, int, float>, std::pair<float, int>>, … in main() [all …]
|
D | mp_map_contains.cpp | 21 using boost::mp11::mp_list; in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<>, char>, mp_false>)); in main() 28 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<std::pair<int, int const>, std::pair<l… in main() 29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<std::pair<int, int const>, std::pair<l… in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<std::pair<int, int const>, std::pair<l… in main() 40 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<mp_list<int>, mp_list<long, long>, mp_l… in main() 41 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<mp_list<int>, mp_list<long, long>, mp_l… in main() 42 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<mp_list<int>, mp_list<long, long>, mp_l… in main() 43 …OOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<mp_list<mp_list<int>, mp_list<long, long>, mp_l… in main() 45 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_contains<std::tuple<mp_list<int>, std::pair<long, long>… in main() [all …]
|
D | mp_map_erase.cpp | 20 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<mp_list<>, void>, mp_list<>>)); in main() 26 using M = mp_list<std::pair<int, int const>, std::pair<long, long const>>; in main() 29 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<M, int>, mp_list<std::pair<long, long const>>>)); in main() 30 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<M, long>, mp_list<std::pair<int, int const>>>)); in main() 42 … using M = mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>; in main() 45 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<M, int>, mp_list<mp_list<long, long>, mp_list<lon… in main() 46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<M, long>, mp_list<mp_list<int>, mp_list<long long… in main() 47 …OST_TEST_TRAIT_TRUE((std::is_same<mp_map_erase<M, long long>, mp_list<mp_list<int>, mp_list<long, … in main() 51 …using M = std::tuple<mp_list<int>, std::pair<long, long>, std::tuple<long long, long long, long lo… in main() [all …]
|
D | mp_unique.cpp | 18 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<>>, mp_list<>>)); in main() 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void>>, mp_list<void>>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, void>>, mp_list<void>>)); in main() 26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, void, void>>, mp_list<void>>)); in main() 27 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, void, void, void>>, mp_list<void>>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, int>>, mp_list<void, int>>)); in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, void, void, int, int, int>>, mp_list<v… in main() 31 …OST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, int, void, int, int, void, int, int, int… in main() 33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_unique<mp_list<void, int, char[]>>, mp_list<void, int, char… in main() [all …]
|
D | mp_is_map.cpp | 21 using boost::mp11::mp_list; in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<>>, mp_true>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<void>>, mp_false>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<mp_list<>>>, mp_false>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<mp_list<int>>>, mp_true>)); in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<std::pair<int, int const>>>, mp_true>)); in main() 42 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<std::pair<int, int const>, std::pair<long, l… in main() 46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<std::pair<int, int const>, std::pair<int, lo… in main() 50 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<mp_list<int>, mp_list<long, long>, mp_list<l… in main() 51 …OST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<std::tuple<mp_list<int>, mp_list<long, long>, mp_list<… in main() [all …]
|
D | mp_transform.cpp | 46 using boost::mp11::mp_list; in main() 49 using L1 = mp_list<X1, X2, X3, X4>; in main() 51 …EST_TRAIT_TRUE((std::is_same<mp_transform<mp_list, L1>, mp_list<mp_list<X1>, mp_list<X2>, mp_list<… in main() 52 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::tuple, L1>, mp_list<std::tuple<X1>, std::tup… in main() 53 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::add_pointer, L1>, mp_list<std::add_pointer<X… in main() 54 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<add_pointer, L1>, mp_list<X1*, X2*, X3*, X4*>>)); in main() 58 …T_TRUE((std::is_same<mp_transform<mp_list, L1, L2>, mp_list<mp_list<X1, Y1>, mp_list<X2, Y2>, mp_l… in main() 59 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::tuple, L1, L2>, mp_list<std::tuple<X1, Y1>, … in main() 60 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::pair, L1, L2>, mp_list<std::pair<X1, Y1>, st… in main() 62 using L3 = mp_list<Z1, Z2, Z3, Z4>; in main() [all …]
|
D | mp_flatten.cpp | 18 using boost::mp11::mp_list; in main() 23 using L1 = mp_list<>; in main() 24 using L2 = mp_list<void>; in main() 25 using L3 = mp_list<void, void>; in main() 35 using L4 = mp_transform<mp_list, L3>; in main() 38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, mp_list<>>, L3>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L5, mp_list<>>, L5>)); in main() 61 using L4 = mp_transform<mp_list, L3>; in main() 64 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, mp_list<>>, L3>)); in main() 70 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L5, mp_list<>>, L5>)); in main() [all …]
|
D | mp_transform_sf.cpp | 17 using boost::mp11::mp_list; 34 BOOST_TEST_TRAIT_TRUE((mp_valid<transform, mp_list<>>)); in main() 37 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, mp_list<>, mp_list<void>>)); in main() 38 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, mp_list<>, mp_list<>, mp_list<void>>)); in main() 39 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, mp_list<>, mp_list<>, mp_list<>, mp_list<void>>)); in main() 40 …BOOST_TEST_TRAIT_FALSE((mp_valid<transform, mp_list<>, mp_list<>, mp_list<>, mp_list<>, mp_list<vo… in main()
|
D | mp_map_insert.cpp | 20 using boost::mp11::mp_list; in main() 23 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<mp_list<>, mp_list<void>>, mp_list<mp_list<void>… in main() 28 using M = mp_list<std::pair<int, int const>, std::pair<long, long const>>; in main() 30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<char>>, mp_push_back<M, mp_list<char>… in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<int>>, M>)); in main() 39 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<char>>, mp_push_back<M, mp_list<char>… in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<int>>, M>)); in main() 46 … using M = mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>; in main() 48 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<char>>, mp_push_back<M, mp_list<char>… in main() 52 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_insert<M, mp_list<long long, float, double>>, M>)); in main() [all …]
|
D | mp_starts_with_sf.cpp | 18 using boost::mp11::mp_list; in main() 23 mp_list<> >)); in main() 25 mp_list<int> >)); in main() 29 mp_list<>, void>)); in main() 31 mp_list<int>, void>)); in main() 33 void, mp_list<> >)); in main() 35 void, mp_list<int> >)); in main() 37 mp_list<>, mp_list<> >)); in main() 39 mp_list<>, mp_list<int> >)); in main() 41 mp_list<int>, mp_list<> >)); in main() [all …]
|
D | mp_rename.cpp | 21 using boost::mp11::mp_list; in main() 25 using L1 = mp_list<>; in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L1, mp_list>, mp_list<>>)); in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<mp_list, L1>, mp_list<>>)); in main() 37 using L2 = mp_list<char>; in main() 39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L2, mp_list>, mp_list<char>>)); in main() 44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<mp_list, L2>, mp_list<char>>)); in main() 49 using L3 = mp_list<char, double>; in main() 51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_rename<L3, mp_list>, mp_list<char, double>>)); in main() 57 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_apply<mp_list, L3>, mp_list<char, double>>)); in main() [all …]
|
D | mp_append.cpp | 25 using boost::mp11::mp_list; in main() 28 using L1 = mp_list<char[1], char[1]>; in main() 29 using L2 = mp_list<char[2], char[2]>; in main() 30 using L3 = mp_list<char[3], char[3]>; in main() 31 using L4 = mp_list<char[4], char[4]>; in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<>, mp_list<>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<L1>, mp_list<char[1], char[1]>>)); in main() 35 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<L1, L2>, mp_list<char[1], char[1], char[2], char[2]>… in main() 36 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<L1, L2, L3>, mp_list<char[1], char[1], char[2], char… in main() 37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_append<L1, L2, L3, L4>, mp_list<char[1], char[1], char[2], … in main() [all …]
|
D | mp_assign.cpp | 22 using boost::mp11::mp_list; in main() 25 using L1 = mp_list<int, void(), float[]>; in main() 27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, mp_list<>>, mp_list<>>)); in main() 28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, mp_list<X1>>, mp_list<X1>>)); in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, mp_list<X1, X2>>, mp_list<X1, X2>>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, mp_list<X1, X2, X3>>, mp_list<X1, X2, X3>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, std::tuple<>>, mp_list<>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, std::tuple<X1>>, mp_list<X1>>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, std::tuple<X1, X2>>, mp_list<X1, X2>>)); in main() 37 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_assign<L1, std::tuple<X1, X2, X3>>, mp_list<X1, X2, X3>>)); in main() [all …]
|
D | mp_transform_q.cpp | 43 using boost::mp11::mp_list; 51 using Q_mp_list = mp_quote<mp_list>; 59 using L1 = mp_list<X1, X2, X3, X4>; in main() 61 …RUE((std::is_same<mp_transform_q<Q_mp_list, L1>, mp_list<mp_list<X1>, mp_list<X2>, mp_list<X3>, mp… in main() 62 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_q<Q_std_tuple, L1>, mp_list<std::tuple<X1>, std::… in main() 63 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_q<Q_add_pointer, L1>, mp_list<X1*, X2*, X3*, X4*>… in main() 67 …is_same<mp_transform_q<Q_mp_list, L1, L2>, mp_list<mp_list<X1, Y1>, mp_list<X2, Y2>, mp_list<X3, Y… in main() 68 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_q<Q_std_tuple, L1, L2>, mp_list<std::tuple<X1, Y1… in main() 69 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_q<Q_std_pair, L1, L2>, mp_list<std::pair<X1, Y1>,… in main() 71 using L3 = mp_list<Z1, Z2, Z3, Z4>; in main() [all …]
|
D | mp_map_keys.cpp | 20 using boost::mp11::mp_list; in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_keys<mp_list<>>, mp_list<>>)); in main() 25 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_map_keys<mp_list<std::pair<int, int const>>>, mp_list<int>>… in main() 28 …ST_TRAIT_TRUE((std::is_same<mp_map_keys<mp_list<std::pair<int, int const>, std::pair<long, long co… in main() 32 …UE((std::is_same<mp_map_keys<mp_list<mp_list<int>, mp_list<long, long>, mp_list<long long, long lo… in main() 33 …T_TEST_TRAIT_TRUE((std::is_same<mp_map_keys<std::tuple<mp_list<int>, mp_list<long, long>, mp_list<… in main()
|
D | mp_iota.cpp | 17 using boost::mp11::mp_list; in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota_c<0>, mp_list<>>)); in main() 24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota_c<1>, mp_list<mp_size_t<0>>>)); in main() 25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota_c<2>, mp_list<mp_size_t<0>, mp_size_t<1>>>)); in main() 26 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota_c<3>, mp_list<mp_size_t<0>, mp_size_t<1>, mp_size_t<2>… in main() 27 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota_c<4>, mp_list<mp_size_t<0>, mp_size_t<1>, mp_size_t<2>… in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<0>>, mp_list<>>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<1>>, mp_list<mp_size_t<0>>>)); in main() 31 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<2>>, mp_list<mp_size_t<0>, mp_size_t<1>>>)); in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<3>>, mp_list<mp_size_t<0>, mp_size_t<1>, mp_… in main() [all …]
|
D | mp_repeat.cpp | 23 using boost::mp11::mp_list; in main() 31 using L1 = mp_list<>; in main() 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() [all …]
|
D | mp_unique_if.cpp | 39 using boost::mp11::mp_list; in main() 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 …_TEST_TRAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, void, void, int, int, int>, std::is_same… in main() 52 …RAIT_TRUE((std::is_same<mp_unique_if<mp_list<void, int, void, int, int, void, int, int, int>, std:… 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() [all …]
|