Home
last modified time | relevance | path

Searched refs:mp_eval_if_c (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_eval_if.cpp17 using boost::mp11::mp_eval_if_c; in main()
20 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_c<true, char[], mp_identity, void, void, void>, cha… in main()
21 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_c<false, char[], mp_identity, void()>, mp_identity<… in main()
/third_party/boost/libs/mp11/doc/mp11/
Dutility.adoc105 ## mp_eval_if_c<C, T, F, U...>
107 template<bool C, class T, template<class...> class F, class... U> using mp_eval_if_c =
110 `mp_eval_if_c<C, T, F, U...>` is an alias for `T` when `C` is `true`, for `F<U...>` otherwise. Its …
113 .Using mp_eval_if_c to select the first pack element, or void
116 mp_eval_if_c<sizeof...(T) == 0, void, mp_first, mp_list<T...>>;
122 mp_eval_if_c<static_cast<bool>(C::value), T, F, U...>;
124 Like `mp_eval_if_c`, but the first argument is a type.
/third_party/boost/boost/type_erasure/detail/
Dextract_concept.hpp52 ::boost::mp11::mp_eval_if_c<
/third_party/boost/boost/type_erasure/
Dis_subconcept.hpp107 typedef ::boost::mp11::mp_eval_if_c< ::boost::is_same<PlaceholderMap, void>::value,
/third_party/boost/boost/mp11/
Dutility.hpp150 template<bool C, class T, template<class...> class F, class... U> using mp_eval_if_c = typename det… typedef
/third_party/boost/libs/math/test/
Dtest_autodiff.hpp64 using if_c = mp11::mp_eval_if_c<IfValue, ThenType, mp11::mp_identity_t, ElseType>;
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming_2.adoc473 using mp_eval_if_c = typename mp_eval_if_c_impl<C, T, E, A...>::type;