Home
last modified time | relevance | path

Searched refs:mp_if (Results 1 – 25 of 49) sorted by relevance

12

/third_party/boost/libs/mp11/test/
Dmp_if.cpp22 using boost::mp11::mp_if; in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<std::true_type, char[], void()>, char[]>)); in main()
25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<std::false_type, char[], void()>, void()>)); in main()
29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_int<-7>, char[], void()>, char[]>)); in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_int<0>, char[], void()>, void()>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_size_t<14>, char[], void()>, char[]>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_if<mp_size_t<0>, char[], void()>, void()>)); in main()
Dmp_if_sf.cpp16 using boost::mp11::mp_if; 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()
/third_party/boost/boost/parameter/aux_/
Daugment_predicate.hpp112 using augment_predicate_check_consume_ref_mp11 = ::boost::mp11::mp_if<
115 , ::boost::mp11::mp_if<
120 , ::boost::mp11::mp_if<
130 using augment_predicate_check_out_ref_mp11 = ::boost::mp11::mp_if<
135 , ::boost::mp11::mp_if<
137 , ::boost::mp11::mp_if<
161 using type = ::boost::mp11::mp_if<
162 ::boost::mp11::mp_if<
187 using augment_predicate_mp11 = ::boost::mp11::mp_if<
Dtagged_argument.hpp33 using tagged_argument_type = ::boost::mp11::mp_if<
34 ::boost::mp11::mp_if<
43 , ::boost::mp11::mp_if<
45 , ::boost::mp11::mp_if<
133 using value_type = ::boost::mp11::mp_if<
156 using reference = ::boost::mp11::mp_if<
173 ::boost::mp11::mp_if<
214 using fn = ::boost::mp11::mp_if<
216 , ::boost::mp11::mp_if<Reference,reference,value_type>
361 using tagged_argument_rref_key = ::boost::mp11::mp_if<
[all …]
Dtag.hpp46 using tag_if_otherwise = ::boost::mp11::mp_if<
57 using tag = ::boost::mp11::mp_if<
58 ::boost::mp11::mp_if<
/third_party/boost/boost/parameter/aux_/pack/
Dmake_arg_list.hpp113 using _is_positional = ::boost::mp11::mp_if<
115 , ::boost::mp11::mp_if<
118 , ::boost::mp11::mp_if<
147 using _used_args = typename ::boost::mp11::mp_if<
163 using _deduced_data = typename ::boost::mp11::mp_if<
164 ::boost::mp11::mp_if<
197 using _tagged = ::boost::mp11::mp_if<
202 , ::boost::mp11::mp_if<
234 using _error = ::boost::mp11::mp_if<
235 ::boost::mp11::mp_if<
[all …]
Dtag_type.hpp33 : ::boost::mp11::mp_if<
54 using tag_type = ::boost::mp11::mp_if<
55 ::boost::mp11::mp_if<
Dmake_parameter_spec_items.hpp81 : ::boost::mp11::mp_if<
128 using match_parameters_base_cond = ::boost::mp11::mp_if<
162 : ::boost::mp11::mp_if<
198 using make_parameter_spec_items = ::boost::mp11::mp_if<
Dmake_deduced_items.hpp27 using make_deduced_items = ::boost::mp11::mp_if<
30 , ::boost::mp11::mp_if<
Ddeduce_tag.hpp61 using deduce_tag_condition = ::boost::mp11::mp_if<
134 using type = typename ::boost::mp11::mp_if<
193 : ::boost::mp11::mp_if<
Dpredicate.hpp57 using predicate = ::boost::mp11::mp_if<
58 ::boost::mp11::mp_if<
/third_party/boost/boost/parameter/
Dbinding.hpp43 ::boost::mp11::mp_if<
45 , ::boost::mp11::mp_if<
86 ::boost::mp11::mp_if<
88 , ::boost::mp11::mp_if<
120 using type = typename ::boost::mp11::mp_if<
123 , ::boost::mp11::mp_if<
Dvalue_type.hpp43 ::boost::mp11::mp_if<
45 , ::boost::mp11::mp_if<
86 ::boost::mp11::mp_if<
88 , ::boost::mp11::mp_if<
120 using type = typename ::boost::mp11::mp_if<
123 , ::boost::mp11::mp_if<
Dkeyword.hpp61 ::boost::mp11::mp_if<
64 , ::boost::mp11::mp_if<
109 ::boost::mp11::mp_if<
112 , ::boost::mp11::mp_if<
155 ::boost::mp11::mp_if<
156 ::boost::mp11::mp_if<
167 , ::boost::mp11::mp_if<
207 ::boost::mp11::mp_if<
208 ::boost::mp11::mp_if<
219 , ::boost::mp11::mp_if<
[all …]
Ddeduced.hpp88 using has_default = ::boost::mp11::mp_if<
106 using is_deduced = ::boost::mp11::mp_if<
107 ::boost::mp11::mp_if<
/third_party/boost/boost/gil/
Dmetafunctions.hpp575 using channel_t = typename mp11::mp_if
582 using layout_t = typename mp11::mp_if
593 static bool const mut = mp11::mp_if
600 static bool const planar = mp11::mp_if
625 using channel_t = typename mp11::mp_if
632 using layout_t = typename mp11::mp_if
643 static const bool mut = mp11::mp_if
650 static bool const planar = mp11::mp_if
657 static bool const step = mp11::mp_if
674 using channel_t = typename mp11::mp_if
[all …]
/third_party/boost/boost/mp11/
Dmap.hpp29 template<class M, class T> using mp_map_insert = mp_if< mp_map_contains<M, mp_first<T>>, M, mp_push…
43 template<class V> struct _f { using type = mp_if< std::is_same<mp_first<V>, K>, T, V >; };
45 using type = mp_if< mp_map_contains<M<U...>, K>, M<typename _f<U>::type...>, M<U..., T> >;
63 …using type = mp_if< mp_map_contains<M, mp_first<T>>, mp_transform_if<_f, _f3, M>, mp_push_back<M, …
Dset.hpp57 using S = mp_if<mp_set_contains<L<U...>, T1>, L<U...>, L<U..., T1>>;
80 using type = mp_if<mp_set_contains<L<U...>, T1>, L<U...>, L<T1, U...>>;
153 template<class L, class... S> using mp_set_intersection_ = mp_if< mp_all<mp_is_list<S>...>, mp_copy…
183 template<class L, class... S> using mp_set_difference = mp_if< mp_all<mp_is_list<S>...>, mp_remove_…
/third_party/boost/boost/parameter/aux_/preprocessor/impl/
Dfunction_cast.hpp69 using fn = ::boost::mp11::mp_if<B,T,::boost::mp11::mp_true>;
132 typename ::boost::mp11::mp_if<
187 using type = typename ::boost::mp11::mp_if<
221 typename ::boost::mp11::mp_if<
272 using fn = typename ::boost::mp11::mp_if<
274 , ::boost::mp11::mp_if<
382 ::boost::mp11::mp_if<
384 , ::boost::mp11::mp_if<
417 ::boost::mp11::mp_if<
419 , ::boost::mp11::mp_if<
[all …]
/third_party/boost/boost/histogram/algorithm/
Dsum.hpp52 using sum_type = mp11::mp_if<std::is_arithmetic<T>, accumulators::sum<double>, T>; in sum()
59 using R = mp11::mp_if<std::is_arithmetic<T>, double, T>; in sum()
/third_party/boost/boost/mp11/detail/
Dmp_remove_if.hpp32 template<class U> struct _f { using type = mp_if<P<U>, mp_list<>, mp_list<U>>; };
35 template<class U> using _f = mp_if<P<U>, mp_list<>, mp_list<U>>;
Dmp_copy_if.hpp32 template<class U> struct _f { using type = mp_if<P<U>, mp_list<U>, mp_list<>>; };
35 template<class U> using _f = mp_if<P<U>, mp_list<U>, mp_list<>>;
Dmp_min_element.hpp26 template<class T1, class T2> using fn = mp_if<P<T1, T2>, T1, T2>;
40 template<class T1, class T2> using fn = mp_if<P<T2, T1>, T1, T2>;
/third_party/boost/libs/mp11/doc/mp11/
Dutility.adoc30 typename mp_if<std::is_reference<T>, mp_identity<T>, std::add_pointer<T>>::type;
81 ## mp_if<C, T, E...>
83 template<class C, class T, class... E> using mp_if =
88 .Using mp_if to select between two alternatives
90 using R1 = mp_if<mp_true, int, void>; // int
92 using R2 = mp_if<mp_false, int, void>; // void
95 .Using mp_if to fail substitution when a condition is not met
97 template<class T> using void_if_const = mp_if<std::is_const<T>, void>;
100 mp_if<mp_all<std::is_const<T>...>, void>;
102 template<class T> using if_non_const = mp_if<mp_not<std::is_const<T>>, T>;
/third_party/boost/boost/histogram/
Dmake_histogram.hpp39 using S = mp11::mp_if<detail::is_storage<U>, U, storage_adaptor<U>>; in make_histogram_with()
75 using S = mp11::mp_if<detail::is_storage<U>, U, storage_adaptor<U>>; in make_histogram_with()
77 using A = mp11::mp_if<detail::is_indexable_container<It>, It, in make_histogram_with()

12