/third_party/boost/libs/mp11/test/ |
D | mp_valid.cpp | 36 using boost::mp11::mp_valid; in main() 40 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_identity>)); in main() 41 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_identity, void>)); in main() 42 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_identity, void, void>)); in main() 44 BOOST_TEST_TRAIT_FALSE((mp_valid<X>)); in main() 45 BOOST_TEST_TRAIT_TRUE((mp_valid<X, void>)); in main() 46 BOOST_TEST_TRAIT_FALSE((mp_valid<X, int>)); in main() 47 BOOST_TEST_TRAIT_FALSE((mp_valid<X, void, void>)); in main() 49 BOOST_TEST_TRAIT_FALSE((mp_valid<QX::fn>)); in main() 50 BOOST_TEST_TRAIT_TRUE((mp_valid<QX::fn, void>)); in main() [all …]
|
D | mp_eval_if_sf.cpp | 17 using boost::mp11::mp_valid; 24 BOOST_TEST_TRAIT_TRUE((mp_valid<eval_if, std::true_type>)); in main() 25 BOOST_TEST_TRAIT_TRUE((mp_valid<eval_if, std::true_type, void>)); in main() 26 BOOST_TEST_TRAIT_TRUE((mp_valid<eval_if, std::true_type, void, void>)); in main() 27 BOOST_TEST_TRAIT_TRUE((mp_valid<eval_if, std::true_type, void, void, void>)); in main() 29 BOOST_TEST_TRAIT_FALSE((mp_valid<eval_if, std::false_type>)); in main() 30 BOOST_TEST_TRAIT_TRUE((mp_valid<eval_if, std::false_type, void>)); in main() 31 BOOST_TEST_TRAIT_FALSE((mp_valid<eval_if, std::false_type, void, void>)); in main() 32 BOOST_TEST_TRAIT_FALSE((mp_valid<eval_if, std::false_type, void, void, void>)); in main() 36 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_eval_if_q, std::true_type, void, Qi>)); in main() [all …]
|
D | mp_starts_with_sf.cpp | 16 using boost::mp11::mp_valid; in main() 19 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with>)); in main() 20 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 30 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 32 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() 34 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_starts_with, in main() [all …]
|
D | mp_cond_sf.cpp | 20 using boost::mp11::mp_valid; in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_true>)); in main() 25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_false>)); 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() 30 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_false, void>)); in main() 31 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_cond, mp_false, 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() [all …]
|
D | mp_at_sf.cpp | 15 using boost::mp11::mp_valid; 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at>)); in main() 23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, void>)); in main() 25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, void, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, mp_size_t<0>>)); in main() 29 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, mp_list<>, mp_size_t<0>>)); in main() 31 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_at, mp_list<void>, mp_size_t<0>>)); in main() 32 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, mp_list<void>, mp_size_t<1>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_at, mp_list<void, void>, mp_size_t<0>>)); in main() [all …]
|
D | mp_transform_sf.cpp | 18 using boost::mp11::mp_valid; 26 BOOST_TEST_TRAIT_FALSE((mp_valid<transform>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, void>)); in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, void, void>)); in main() 29 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, void, void, void>)); in main() 30 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, void, void, void, void>)); in main() 31 BOOST_TEST_TRAIT_FALSE((mp_valid<transform, void, void, void, void, void>)); in main() 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() [all …]
|
D | mp_set_difference_sf.cpp | 17 using boost::mp11::mp_valid; in main() 20 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference>)); in main() 21 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void>)); in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void>)); in main() 23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void, void>)); in main() 25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void, void, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, void>)); in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, mp_list<>, void>)); in main() 29 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, mp_list<>, mp_list<>, void>)); in main() [all …]
|
D | mp_invoke_q_sf.cpp | 18 using boost::mp11::mp_valid; 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q>)); in main() 25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void>)); in main() 26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void, void, void>)); in main() 31 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qi>)); in main() 32 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_invoke_q, Qi, void>)); in main() 33 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qi, void, void>)); in main() 38 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qt>)); in main() 40 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_invoke_q, Qt, void>)); in main() [all …]
|
D | mp_append_sf.cpp | 17 using boost::mp11::mp_valid; in main() 20 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, void>)); in main() 21 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, void, void>)); in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, void, void, void>)); in main() 23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, void, void, void, void>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, void, void, void, void, void>)); in main() 26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, mp_list<>, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, mp_list<>, mp_list<>, void>)); in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, mp_list<>, mp_list<>, mp_list<>, void>)); in main() 29 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_append, mp_list<>, mp_list<>, mp_list<>, mp_list<>, void>)); in main()
|
D | mp_set_intersection_sf.cpp | 17 using boost::mp11::mp_valid; in main() 20 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, void>)); in main() 21 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, void, void>)); in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, void, void, void>)); in main() 23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, void, void, void, void>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, void, void, void, void, void>)); in main() 26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, mp_list<>, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, mp_list<>, mp_list<>, void>)); in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, mp_list<>, mp_list<>, mp_list<>, void>)); in main() 29 …BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_intersection, mp_list<>, mp_list<>, mp_list<>, mp_list<>, … in main()
|
D | mp_set_union_sf.cpp | 17 using boost::mp11::mp_valid; in main() 20 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, void>)); in main() 21 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, void, void>)); in main() 22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, void, void, void>)); in main() 23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, void, void, void, void>)); in main() 24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, void, void, void, void, void>)); in main() 26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, mp_list<>, void>)); in main() 27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, mp_list<>, mp_list<>, void>)); in main() 28 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, mp_list<>, mp_list<>, mp_list<>, void>)); in main() 29 …BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_union, mp_list<>, mp_list<>, mp_list<>, mp_list<>, void>)); in main()
|
D | mp_if_sf.cpp | 17 using boost::mp11::mp_valid; in main() 19 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_if, std::false_type, void>)); in main() 20 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_if, std::false_type, void, void>)); in main() 21 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_if, std::false_type, void, void, void>)); in main()
|
D | mp_pop_back.cpp | 43 using boost::mp11::mp_valid; in main() 46 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_pop_back, L7>)); in main()
|
D | mp_back.cpp | 46 using boost::mp11::mp_valid; in main() 49 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_back, L7>)); in main()
|
D | Jamfile | 136 run mp_valid.cpp ;
|
/third_party/boost/libs/variant2/test/ |
D | variant_alternative.cpp | 113 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, void>)); in main() 114 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, void const>)); in main() 115 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, void volatile>)); in main() 116 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, void const volatile>)); in main() 118 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, int&>)); in main() 119 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, int const&>)); in main() 120 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, int&&>)); in main() 121 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, int const&&>)); in main() 123 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, variant<>>)); in main() 124 BOOST_TEST_TRAIT_FALSE((mp_valid<var_alt_t, mp_size_t<0>, variant<> const>)); in main() [all …]
|
D | variant_size.cpp | 83 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, void>)); in main() 84 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, void const>)); in main() 85 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, void volatile>)); in main() 86 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, void const volatile>)); in main() 88 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, int&>)); in main() 89 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, int const&>)); in main() 90 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, int&&>)); in main() 91 BOOST_TEST_TRAIT_FALSE((mp_valid<var_size_t, int const&&>)); in main() 93 BOOST_TEST_TRAIT_TRUE((mp_valid<var_size_t, variant<>>)); in main() 94 BOOST_TEST_TRAIT_TRUE((mp_valid<var_size_t, variant<> const>)); in main() [all …]
|
/third_party/boost/boost/mp11/ |
D | utility.hpp | 75 template<template<class...> class F, class... T> using mp_valid = typename detail::mp_valid_impl<vo… typedef 93 template<template<class...> class F, class... T> using mp_valid = typename detail::mp_valid_impl<F,… typedef 97 template<class Q, class... T> using mp_valid_q = mp_valid<Q::template fn, T...>; 116 using type = mp_if<mp_valid<F, T...>, detail::mp_defer_impl<F, T...>, detail::mp_no_type>; 129 template<template<class...> class F, class... T> using mp_defer = mp_if<mp_valid<F, T...>, detail::… 159 …mplate<class...> class F, class... U> using mp_eval_or = mp_eval_if_not<mp_valid<F, U...>, T, F, U…
|
D | algorithm.hpp | 1212 …ss...> class R> using mp_iterate = typename detail::mp_iterate_impl<V, F, R, mp_valid<R, V>>::type;
|
/third_party/boost/boost/type_traits/detail/ |
D | mp_defer.hpp | 37 using mp_valid = typename mp_valid_impl<F, T...>::type; typedef 50 …s...> class F, class... T> using mp_defer = typename boost::conditional<mp_valid<F, T...>::value, …
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | utility.adoc | 152 ## mp_valid<F, T...> 154 template<template<class...> class F, class... T> using mp_valid = /*...*/; 156 `mp_valid<F, T...>` is an alias for `mp_true` when `F<T...>` is a valid expression, for `mp_false` … 158 .Using mp_valid to write a metafunction that checks for the existence of a nested type 162 template<class T> struct has_nested_type: mp_valid<get_nested_type, T> {}; 167 template<class Q, class... T> using mp_valid_q = mp_valid<Q::template fn, T...>; 169 Like `mp_valid`, but takes a quoted metafunction. 174 mp_eval_if_not<mp_valid<F, U...>, T, F, U...>; 216 When `mp_valid<F, T...>` is `mp_true`, `mp_defer<F, T...>` is a struct with a nested type `type` wh…
|
/third_party/boost/boost/histogram/detail/ |
D | array_wrapper.hpp | 28 using has_array_optimization = mp11::mp_or<mp11::mp_valid<has_save_array_impl, T>, 29 mp11::mp_valid<has_load_array_impl, T>>;
|
/third_party/boost/boost/variant2/ |
D | variant.hpp | 1218 template<class T> struct is_swappable: mp11::mp_valid<det2::is_swappable_impl, T> 1230 template<class T> struct is_nothrow_swappable: mp11::mp_valid<det2::is_nothrow_swappable_impl, T>
|