Home
last modified time | relevance | path

Searched refs:BOOST_TEST_TRAIT_TRUE (Results 1 – 25 of 197) sorted by relevance

12345678

/third_party/boost/libs/mp11/test/
Dmp_rename.cpp27 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 …]
Dmp_set_push_back.cpp24 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()
29BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_back<L1, void, int, char[]>, mp_list<void, int, ch… in main()
30BOOST_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 …]
Dmp_set_push_front.cpp24 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()
29BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_push_front<L1, void, int, char[]>, mp_list<void, int, c… in main()
30BOOST_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 …]
Dmp_erase.cpp41 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 …]
Dmp_repeat.cpp33 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 …]
Dmp_rotate_left.cpp34 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 …]
Dmp_rotate_right.cpp34 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 …]
Dmp_or.cpp23 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 …]
Dinteger_sequence.cpp22 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()
24BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 2>, integer_sequence<int, 0, 1>>)); in main()
25BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<int, 3>, integer_sequence<int, 0, 1, 2>>… in main()
26BOOST_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()
29BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 1>, integer_sequence<char, 0>>)); in main()
30BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 2>, integer_sequence<char, 0, 1>>)… in main()
31BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 3>, integer_sequence<char, 0, 1, 2… in main()
32BOOST_TEST_TRAIT_TRUE((std::is_same<make_integer_sequence<char, 4>, integer_sequence<char, 0, 1, 2… in main()
[all …]
Dmp_apply_q.cpp33 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 …]
Dmp_is_set.cpp26 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 …]
Dintegral.cpp19 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()
37BOOST_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 …]
Dmp_less.cpp28 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 …]
Dmp_and.cpp23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<>, mp_true>)); in main()
25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_true>, mp_true>)); in main()
26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_false>, mp_false>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_int<-7>>, mp_true>)); in main()
29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_int<0>>, mp_false>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_size_t<7>>, mp_true>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_size_t<0>>, mp_false>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_true, mp_true>, mp_true>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_true, mp_false>, mp_false>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_false, void>, mp_false>)); in main()
[all …]
Dmp_insert.cpp37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L1, 0>, L1>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert<L1, mp_size_t<0>>, L1>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L1, 0, Y1>, mp_list<Y1>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert<L1, mp_size_t<0>, Y1>, mp_list<Y1>>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L1, 0, Y1, Y2>, mp_list<Y1, Y2>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert<L1, mp_size_t<0>, Y1, Y2>, mp_list<Y1, Y2>>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 0>, L2>)); in main()
49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 1>, L2>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 2>, L2>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_insert_c<L2, 3>, L2>)); in main()
[all …]
Dmp_set_contains.cpp27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L1, void>, mp_false>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L1, int>, mp_false>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L2, void>, mp_true>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L2, int>, mp_false>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L3, void>, mp_true>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L3, int>, mp_true>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L3, void const>, mp_false>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L4, void>, mp_true>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L4, int>, mp_true>)); in main()
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L4, char[]>, mp_true>)); in main()
[all …]
Dmp_flatten.cpp27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L1>, L1>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L2>, L2>)); in main()
29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L3>, L3>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L1, L1>, L1>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L2, L2>, L2>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L3, L3>, L3>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4>, L3>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, mp_list<>>, L3>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, std::tuple<>>, L4>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L5>, L5>)); in main()
[all …]
Dmp_take.cpp34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L1, 0>, L1>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L1, mp_size_t<0>>, L1>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 0>, mp_list<>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 1>, mp_list<X1>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 2>, mp_list<X1, X2>>)); 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()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<0>>, mp_list<>>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<1>>, mp_list<X1>>)); in main()
[all …]
Dmp_at.cpp34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at_c<L1, 0>, X1>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at_c<L1, 1>, X2>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at_c<L1, 2>, X3>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at_c<L1, 3>, X4>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at_c<L1, 4>, X5>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<0>>, X1>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<1>>, X2>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<2>>, X3>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<3>>, X4>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<4>>, X5>)); in main()
[all …]
Dmp_any.cpp42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<>, mp_false>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_true>, mp_true>)); in main()
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_false>, mp_false>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_int<-7>>, mp_true>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_int<0>>, mp_false>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_size_t<7>>, mp_true>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_size_t<0>>, mp_false>)); in main()
53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_true, mp_true>, mp_true>)); in main()
54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_false, mp_true>, mp_true>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_true, mp_false>, mp_true>)); in main()
[all …]
Dmp_similar.cpp23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<>, mp_true>)); in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void>, mp_true>)); in main()
25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void>, mp_true>)); in main()
26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, void>, mp_true>)); in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, void, void>, mp_true>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, void, void, void>, mp_true>)); in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, int>, mp_false>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, int>, mp_false>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, void, int>, mp_false>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<void, void, void, void, int>, mp_false>)); in main()
[all …]
Dmp_transform_front.cpp36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front<L1, add_pointer_t>, mp_list<X1*>>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first<L1, add_pointer_t>, mp_list<X1*>>)); in main()
39BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front_q<L1, Q_add_pointer>, mp_list<X1*>>)); in main()
40BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first_q<L1, Q_add_pointer>, mp_list<X1*>>)); in main()
44BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front<L2, add_pointer_t>, mp_list<X1*, X2>>)); in main()
45BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first<L2, add_pointer_t>, mp_list<X1*, X2>>)); in main()
47BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front_q<L2, Q_add_pointer>, mp_list<X1*, X2>>)); in main()
48BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first_q<L2, Q_add_pointer>, mp_list<X1*, X2>>)); in main()
52BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_front<L3, add_pointer_t>, mp_list<X1*, X2, X3>>)); in main()
53BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_first<L3, add_pointer_t>, mp_list<X1*, X2, X3>>)); in main()
[all …]
Dmp_all.cpp28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<>, mp_true>)); in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_true>, mp_true>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_false>, mp_false>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_int<-7>>, mp_true>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_int<0>>, mp_false>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_size_t<7>>, mp_true>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_size_t<0>>, mp_false>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_true, mp_true>, mp_true>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_false, mp_true>, mp_false>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_true, mp_false>, mp_false>)); in main()
[all …]
Dmp_drop.cpp34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L1, 0>, L1>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop<L1, mp_size_t<0>>, L1>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 0>, mp_list<X1, X2, X3, X4, X5>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 1>, mp_list<X2, X3, X4, X5>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 2>, mp_list<X3, X4, X5>>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 3>, mp_list<X4, X5>>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 4>, mp_list<X5>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 5>, mp_list<>>)); in main()
46BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop<L2, mp_size_t<0>>, mp_list<X1, X2, X3, X4, X5>>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop<L2, mp_size_t<1>>, mp_list<X2, X3, X4, X5>>)); in main()
[all …]
/third_party/boost/libs/variant2/test/
Dvariant_alternative.cpp23 BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void>>, void>)); in main()
24BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void> const>, void const>)); in main()
25BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void> volatile>, void volatil… in main()
26BOOST_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()
29BOOST_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()
31BOOST_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()
34BOOST_TEST_TRAIT_TRUE((std::is_same<variant_alternative_t<0, variant<void, int> const>, void const… in main()
[all …]

12345678