Home
last modified time | relevance | path

Searched refs:mp_eval_if (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_eval_if.cpp23 using boost::mp11::mp_eval_if; in main()
29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<std::true_type, char[], mp_identity, void, void, vo… in main()
30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<std::false_type, char[], mp_identity, void()>, mp_i… in main()
37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_int<-7>, char[], mp_identity, void, void, void>,… in main()
38 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_int<0>, char[], mp_identity, void()>, mp_identit… in main()
45 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_size_t<14>, char[], mp_identity, void, void, voi… in main()
46 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_size_t<0>, char[], mp_identity, void()>, mp_iden… in main()
Dmp_eval_if_sf.cpp14 using boost::mp11::mp_eval_if;
20 template<class C, class... A> using eval_if = mp_eval_if<C, void, mp_identity_t, A...>;
DJamfile134 run mp_eval_if.cpp ;
/third_party/boost/boost/mp11/
Dutility.hpp151 template<class C, class T, template<class...> class F, class... U> using mp_eval_if = typename deta… typedef
155 …lass T, template<class...> class F, class... U> using mp_eval_if_not = mp_eval_if<mp_not<C>, T, F,…
156 template<class C, class T, class Q, class... U> using mp_eval_if_not_q = mp_eval_if<mp_not<C>, T, Q…
179 template<class C, class T, class... E> using mp_cond_ = mp_eval_if<C, T, mp_cond, E...>;
Dfunction.hpp56 using type = mp_eval_if< mp_not<T1>, T1, mp_and, T... >;
123 using type = mp_eval_if< T1, T1, mp_or, T... >;
Dmap.hpp109 …using type = mp_eval_if<mp_not<mp_all<mp_is_map_element<T>...>>, mp_false, mp_keys_are_set, M<T...…
/third_party/boost/libs/mp11/doc/mp11/
Dutility.adoc119 ## mp_eval_if<C, T, F, U...>
121 template<class C, class T, template<class...> class F, class... U> using mp_eval_if =
126 .Using mp_eval_if to select the first list element, or void
128 template<class L> using first_or_void = mp_eval_if<mp_empty<L>, void, mp_first, L>;
134 mp_eval_if<C, T, Q::template fn, U...>;
136 Like `mp_eval_if`, but takes a quoted metafunction.
141 using mp_eval_if_not = mp_eval_if<mp_not<C>, T, F, U...>;
143 Same as `mp_eval_if`, but the condition is reversed.
/third_party/boost/boost/parameter/
Dtemplate_keyword.hpp51 using reference = typename ::boost::mp11::mp_eval_if<
/third_party/boost/libs/gil/test/legacy/
Drecreate_image.cpp65 const std::size_t _channels_in_image = mp11::mp_eval_if< is_pixel< typename View::value_type > in total_allocated_size_in_bytes()
/third_party/boost/boost/parameter/aux_/
Dunwrap_cv_reference.hpp97 using unwrap_cv_reference = ::boost::mp11::mp_eval_if<
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming_2.adoc455 // mp_eval_if
476 using mp_eval_if = typename mp_eval_if_c_impl<C::value != 0, T, E, A...>::type;
492 using type = mp_eval_if<std::is_same<mp_front<T1>, K>, T1, mp_map_find, M<T...>, K>;
/third_party/boost/boost/variant2/
Dvariant.hpp1224 template<class T> struct is_nothrow_swappable: mp11::mp_eval_if<mp11::mp_not<is_swappable<T>>, mp11…