Home
last modified time | relevance | path

Searched refs:mp_true (Results 1 – 25 of 63) sorted by relevance

123

/third_party/boost/libs/mp11/test/
Dmp_and.cpp18 using boost::mp11::mp_true; in main()
23 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()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_int<-7>>, mp_true>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_size_t<7>>, mp_true>)); 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()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_int<-4>, mp_int<5>>, mp_true>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_size_t<7>, mp_size_t<8>>, mp_true>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_and<mp_true, mp_true, mp_true>, mp_true>)); in main()
[all …]
Dmp_or.cpp18 using boost::mp11::mp_true; in main()
25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_true>, mp_true>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_int<-7>>, mp_true>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_size_t<7>>, mp_true>)); 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()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_int<0>, mp_int<5>>, mp_true>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_int<-4>, void>, mp_true>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_size_t<7>, void>, mp_true>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_or<mp_size_t<0>, mp_size_t<4>>, mp_true>)); in main()
[all …]
Dmp_all.cpp23 using boost::mp11::mp_true; in main()
28 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()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_int<-7>>, mp_true>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_size_t<7>>, mp_true>)); 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()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_int<-7>, mp_int<7>>, mp_true>)); in main()
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all<mp_size_t<(size_t)-1>, mp_size_t<1>>, mp_true>)); in main()
[all …]
Dmp_any.cpp37 using boost::mp11::mp_true; in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_true>, mp_true>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_int<-7>>, mp_true>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_size_t<7>>, mp_true>)); 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()
58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_int<-7>, mp_int<7>>, mp_true>)); in main()
59 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_size_t<(size_t)-1>, mp_size_t<1>>, mp_true>)); in main()
61 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any<mp_true, mp_true, mp_true>, mp_true>)); in main()
[all …]
Dmp_similar.cpp20 using boost::mp11::mp_true; in main()
23 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()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<X<void>>, mp_true>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<X<void>, X<void>>, mp_true>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_similar<X<void>, X<int>>, mp_true>)); in main()
[all …]
Dmp_cond.cpp18 using boost::mp11::mp_true; in main()
21 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_true, char[]>, char[]>)); in main()
22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_true, char[], void>, char[]>)); in main()
23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_true, char[], void, void>, char[]>)); in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_true, char[], void, void, void>, char[]>)); in main()
26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_false, int, mp_true, char[]>, char[]>)); in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_false, int, mp_true, char[], void>, char[]>)); in main()
28 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_false, int, mp_true, char[], void, void>, char[]>)); in main()
29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_false, int, mp_true, char[], void, void, void>, cha… in main()
31 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_cond<mp_false, int, mp_false, float, mp_true, char[]>, char… in main()
[all …]
Dmp_is_list.cpp20 using boost::mp11::mp_true; in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<mp_list<>>, mp_true>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<mp_list<void>>, mp_true>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<mp_list<void, void>>, mp_true>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<mp_list<void, void, void>>, mp_true>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<mp_list<void, void, void, void>>, mp_true>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<std::tuple<>>, mp_true>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<std::tuple<void>>, mp_true>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<std::tuple<void, void>>, mp_true>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_list<std::tuple<void, void, void>>, mp_true>)); in main()
[all …]
Dmp_set_contains.cpp21 using boost::mp11::mp_true; in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L2, void>, mp_true>)); 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()
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()
57 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L2, void>, mp_true>)); in main()
62 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L3, void>, mp_true>)); in main()
63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_set_contains<L3, int>, mp_true>)); in main()
[all …]
Dintegral.cpp22 using boost::mp11::mp_true; in main()
26 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_true, std::integral_constant<bool, true>>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_true>, mp_true>)); in main()
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_int<1>>, mp_true>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_int<107>>, mp_true>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_int<-1>>, mp_true>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_int<-91>>, mp_true>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_size_t<1>>, mp_true>)); in main()
52 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_to_bool<mp_size_t<442>>, mp_true>)); in main()
56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_not<mp_false>, mp_true>)); in main()
[all …]
Dmp_less.cpp23 using boost::mp11::mp_true; 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()
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()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_int<1>, mp_int<2>>, mp_true>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_size_t<0>, mp_size_t<1>>, mp_true>)); in main()
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_size_t<0>, mp_size_t<2>>, mp_true>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_size_t<0>, mp_size_t<3>>, mp_true>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_less<mp_size_t<1>, mp_size_t<2>>, mp_true>)); in main()
[all …]
Dmp_map_contains.cpp22 using boost::mp11::mp_true; in main()
29 …<mp_map_contains<mp_list<std::pair<int, int const>, std::pair<long, long const>>, int>, mp_true>)); in main()
30 …mp_map_contains<mp_list<std::pair<int, int const>, std::pair<long, long const>>, long>, mp_true>)); in main()
33 …_map_contains<std::tuple<std::pair<int, int const>, std::pair<long, long const>>, int>, mp_true>)); in main()
34 …map_contains<std::tuple<std::pair<int, int const>, std::pair<long, long const>>, long>, mp_true>)); in main()
37 …p_map_contains<std::pair<std::pair<int, int const>, std::pair<long, long const>>, int>, mp_true>)); in main()
38 …_map_contains<std::pair<std::pair<int, int const>, std::pair<long, long const>>, long>, mp_true>)); in main()
41 …ist<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>, int>, mp_true>)); in main()
42 …st<mp_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>, long>, mp_true>)); in main()
43 …_list<int>, mp_list<long, long>, mp_list<long long, long long, long long>>, long long>, mp_true>)); in main()
[all …]
Dmp_is_map.cpp22 using boost::mp11::mp_true; in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<>>, mp_true>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<std::tuple<>>, mp_true>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<mp_list<mp_list<int>>>, mp_true>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<std::tuple<std::tuple<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()
40 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_map<std::tuple<std::pair<int, int const>>>, mp_true>)); in main()
42 …td::is_same<mp_is_map<mp_list<std::pair<int, int const>, std::pair<long, long const>>>, mp_true>)); in main()
43 …:is_same<mp_is_map<std::tuple<std::pair<int, int const>, std::pair<long, long const>>>, mp_true>)); in main()
44 …::is_same<mp_is_map<std::pair<std::pair<int, int const>, std::pair<long, long const>>>, mp_true>)); in main()
[all …]
Dmp_starts_with.cpp21 using boost::mp11::mp_true; in main()
24 mp_list<> >, mp_true>)); in main()
28 mp_list<> >, mp_true>)); in main()
32 mp_list<> >, mp_true>)); in main()
34 mp_list<int> >, mp_true>)); in main()
38 mp_list<int> >, mp_true>)); in main()
42 mp_list<int> >, mp_true>)); in main()
48 mp_list<int> >, mp_true>)); in main()
52 mp_list<int, void> >, mp_true>)); in main()
56 mp_list<int, char> >, mp_true>)); in main()
[all …]
Dmp_cond_sf.cpp18 using boost::mp11::mp_true; in main()
24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_true>)); in main()
27 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_cond, mp_true, void>)); in main()
28 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_cond, mp_true, void, void>)); in main()
33 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_false, void, mp_true>)); in main()
34 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_cond, mp_false, void, mp_true, void>)); in main()
39 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_false, void, mp_false, void, mp_true>)); in main()
40 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_cond, mp_false, void, mp_false, void, mp_true, void>)); in main()
Dmp_is_set.cpp22 using boost::mp11::mp_true; 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()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, int>>, mp_true>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<mp_list<void, int, char[]>>, mp_true>)); in main()
49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<std::tuple<>>, mp_true>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<std::tuple<void>>, mp_true>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<std::tuple<void, int>>, mp_true>)); in main()
59 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<std::tuple<void, int, char[]>>, mp_true>)); in main()
67 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_is_set<std::pair<void, int>>, mp_true>)); in main()
[all …]
Dmp_contains.cpp26 using boost::mp11::mp_true; in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L2, X1>, mp_true>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L2, X2>, mp_true>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L2, X3>, mp_true>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L4, X1>, mp_true>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L4, X2>, mp_true>)); in main()
52 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L4, X3>, mp_true>)); in main()
59 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L5, X1>, mp_true>)); in main()
60 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L5, X2>, mp_true>)); in main()
Dmp_same.cpp24 using boost::mp11::mp_true; in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<>, mp_true>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<void>, mp_true>)); in main()
29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<void, void>, mp_true>)); in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<void, void, void>, mp_true>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<void, void, void, void>, mp_true>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_same<void, void, void, void, void>, mp_true>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<R, mp_true>)); in main()
Dmp_none_of.cpp24 using boost::mp11::mp_true; in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L1, std::is_const>, mp_true>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_volatile>, mp_true>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_volatile>, mp_true>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L1, std::is_const>, mp_true>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_volatile>, mp_true>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_volatile>, mp_true>)); in main()
62 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L2, std::is_volatile>, mp_true>)); in main()
67 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of<L3, std::is_volatile>, mp_true>)); in main()
Dmp_none_of_q.cpp25 using boost::mp11::mp_true; in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main()
36 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_volatile>>, mp_true>)); in main()
41 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_volatile>>, mp_true>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main()
52 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_volatile>>, mp_true>)); in main()
57 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_volatile>>, mp_true>)); in main()
64 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L2, mp_quote<std::is_volatile>>, mp_true>)); in main()
69 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_none_of_q<L3, mp_quote<std::is_volatile>>, mp_true>)); in main()
Dmp_all_of.cpp24 using boost::mp11::mp_true; in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L1, std::is_const>, mp_true>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L1, std::is_const>, mp_true>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main()
53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of<L2, std::is_const>, mp_true>)); in main()
Dmp_any_of.cpp24 using boost::mp11::mp_true; in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main()
56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main()
63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L2, std::is_const>, mp_true>)); in main()
68 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of<L3, std::is_const>, mp_true>)); in main()
Dmp_all_of_q.cpp25 using boost::mp11::mp_true; in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L1, mp_quote<std::is_const>>, mp_true>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_all_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
Dmp_any_of_q.cpp25 using boost::mp11::mp_true; in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main()
53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main()
65 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L2, mp_quote<std::is_const>>, mp_true>)); in main()
70 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_any_of_q<L3, mp_quote<std::is_const>>, mp_true>)); in main()
/third_party/boost/libs/mp11/doc/mp11/
Dfunction.adoc27 …If the application causes a substitution failure, returns `mp_false`. If all results are `mp_true`,
28 returns `mp_true`. `mp_and<>` is `mp_true`.
32 using R1 = mp_and<mp_true, mp_true>; // mp_true
38 using R4 = mp_and<void, mp_true>; // mp_false (!)
45 `mp_all<T...>` is `mp_true` if `mp_to_bool<U>` is `mp_true` for all types `U` in `T...`, `mp_false`…
52 using R1 = mp_all<mp_true, mp_true>; // mp_true
58 using R4 = mp_all<void, mp_true>; // compile-time error
65 …mp_to_bool` to the types in `T...`, in order. If the result of an application is `mp_true`, `mp_or`
66 returns `mp_true`. If all results are `mp_false`, returns `mp_false`. `mp_or<>` is `mp_false`.
70 using R1 = mp_or<mp_true, mp_false>; // mp_true
[all …]
/third_party/boost/boost/mp11/
Dfunction.hpp46 using type = mp_true;
73 using type = mp_true;
148 using type = mp_true;
168 using type = mp_true;
173 using type = mp_true;
178 using type = mp_true;
188 using type = mp_true;
193 using type = mp_true;

123