Searched refs:mp_contains (Results 1 – 15 of 15) sorted by relevance
/third_party/boost/libs/mp11/test/ |
D | mp_contains.cpp | 25 using boost::mp11::mp_contains; in main() 32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L1, void>, mp_false>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L2, void>, mp_false>)); 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() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L3, void>, mp_false>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_contains<L4, void>, mp_false>)); 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() [all …]
|
D | Jamfile | 64 run mp_contains.cpp ;
|
/third_party/boost/boost/histogram/axis/ |
D | variant.hpp | 36 using is_bounded_type = mp11::mp_contains<variant, std::decay_t<T>>; 309 return detail::static_if_c<(mp11::mp_contains<V, T>::value || in operator ==() 310 mp11::mp_contains<V, T*>::value || in operator ==() 311 mp11::mp_contains<V, const T*>::value)>( in operator ==()
|
/third_party/boost/libs/mp11/doc/article/ |
D | simple_cxx11_metaprogramming_2.adoc | 51 ## mp_contains 93 using type = mp_if<**mp_contains**<_rest, T1>, _rest, mp_push_front<_rest, T1>>; 96 For membership testing, we've introduced an algorithm `mp_contains<L, V>` that 98 implementation of `mp_contains` is: 102 template<class L, class V> using mp_contains = typename mp_contains_impl<L, V>::type; 120 Note that `mp_unique<L>` makes `N` calls to `mp_contains`, where `N` is the 121 length of the list `L`. This means that `mp_contains` needs to be as fast as 141 I ended the previous article with an implementation of `mp_contains` that 290 template<class L, class V> using mp_contains = typename mp_contains_impl<L, V>::type; 312 `mp_contains` do not rely on the list elements being unique. This makes [all …]
|
D | simple_cxx11_metaprogramming.adoc | 1172 The last primitive I'll show is `mp_contains`. `mp_contains<L, V>` returns 1175 template<class L, class V> using mp_contains = mp_bool<mp_count<L, V>::value != 0>; 1181 engine behind `mp_count` and `mp_contains`:
|
/third_party/boost/boost/gil/extension/io/tiff/detail/ |
D | write.hpp | 231 using has_alpha_t = mp11::mp_contains<colour_space_t, alpha_t>; in write_data() 364 using has_alpha_t = mp11::mp_contains<colour_space_t, alpha_t>; in internal_write_tiled_data()
|
D | writer_backend.hpp | 81 if /*constexpr*/ (mp11::mp_contains<color_space_t, alpha_t>::value) in write_header()
|
/third_party/boost/boost/gil/ |
D | premultiply.hpp | 65 …using has_alpha_t = std::integral_constant<bool, mp11::mp_contains<dst_colour_space_t, alpha_t>::v… in operator ()()
|
D | utilities.hpp | 251 static_assert(mp11::mp_contains<Types, T>::value, "T should be element of Types");
|
D | color_convert.hpp | 267 mp11::mp_contains<typename color_space_type<Pixel>::type, alpha_t>()); in alpha_or_max()
|
D | color_base_algorithm.hpp | 166 : mp11::mp_contains<typename ColorBase::layout_t::color_space_t, Color>
|
/third_party/boost/libs/parameter/test/ |
D | mpl.cpp | 47 boost::mp11::mp_contains<Set,T>::value in operator ()()
|
/third_party/boost/boost/variant2/ |
D | variant.hpp | 1710 …class E2 = mp11::mp_if<mp11::mp_all<std::is_copy_constructible<U>..., mp11::mp_contains<mp11::mp_l… 1734 …class E2 = mp11::mp_if<mp11::mp_all<std::is_move_constructible<U>..., mp11::mp_contains<mp11::mp_l… 1771 …class E2 = mp11::mp_if<mp11::mp_all<std::is_copy_constructible<U>..., mp11::mp_contains<mp11::mp_l… 1793 …class E2 = mp11::mp_if<mp11::mp_all<std::is_copy_constructible<U>..., mp11::mp_contains<mp11::mp_l… 1815 …class E2 = mp11::mp_if<mp11::mp_all<std::is_copy_constructible<U>..., mp11::mp_contains<mp11::mp_l… 1841 …class E2 = mp11::mp_if<mp11::mp_all<std::is_copy_constructible<U>..., mp11::mp_contains<mp11::mp_l…
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | algorithm.adoc | 219 ## mp_contains<L, V> 221 template<class L, class V> using mp_contains = mp_to_bool<mp_count<L, V>>; 223 `mp_contains<L, V>` is `mp_true` when `L` contains an element `V`, `mp_false` otherwise.
|
/third_party/boost/boost/mp11/ |
D | algorithm.hpp | 224 template<class L, class V> using mp_contains = mp_to_bool<mp_count<L, V>>; typedef
|