Home
last modified time | relevance | path

Searched refs:mp_or (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_or.cpp17 using boost::mp11::mp_or; in main()
23 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()
[all …]
DJamfile179 run mp_or.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dfunction.adoc61 ## mp_or<T...>
63 template<class... T> using mp_or = /*...*/;
65 `mp_or<T...>` applies `mp_to_bool` to the types in `T...`, in order. If the result of an applicatio…
66 returns `mp_true`. If all results are `mp_false`, returns `mp_false`. `mp_or<>` is `mp_false`.
68 .mp_or behavior
70 using R1 = mp_or<mp_true, mp_false>; // mp_true
72 using R2 = mp_or<mp_true, void>; // mp_true, void is not reached
74 using R3 = mp_or<mp_false, mp_false>; // mp_false
76 using R4 = mp_or<void, mp_true>; // compile-time error
84 `mp_or`, but does not perform short-circuit evaluation.
/third_party/boost/boost/gil/io/
Ddevice.hpp547 mp11::mp_or
585 mp11::mp_or
618 mp11::mp_or
653 mp11::mp_or
/third_party/boost/boost/mp11/
Dfunction.hpp106 template<class... T> using mp_or = mp_to_bool< typename detail::mp_or_impl<T...>::type >; typedef
123 using type = mp_eval_if< T1, T1, mp_or, T... >;
/third_party/boost/boost/histogram/detail/
Darray_wrapper.hpp28 using has_array_optimization = mp11::mp_or<mp11::mp_valid<has_save_array_impl, T>,
Ddetect.hpp120 mp11::mp_or<is_vector_like<T>, is_array_like<T>, is_map_like<T>>>;
150 using is_any_axis = mp11::mp_or<is_axis<T>, is_axis_variant<T>>;
/third_party/boost/libs/math/test/
Dtest_autodiff.hpp61 mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>>;
75 …static constexpr auto n_samples = if_t<mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>…
/third_party/boost/boost/multiprecision/
Dtommath.hpp557 …detail::check_tommath_result(mp_or(&result.data(), const_cast< ::mp_int*>(&v.data()), &result.data… in eval_bitwise_or()
618 …detail::check_tommath_result(mp_or(const_cast< ::mp_int*>(&u.data()), const_cast< ::mp_int*>(&v.da… in eval_bitwise_or()
/third_party/boost/boost/gil/
Dmetafunctions.hpp217 : mp11::mp_or<is_reference<Pixel>, pixel_reference_is_proxy<Pixel>> {};
Dalgorithm.hpp461 mp11::mp_or in destruct_range_impl()