Home
last modified time | relevance | path

Searched refs:mp_invoke_q (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_invoke_q.cpp15 using boost::mp11::mp_invoke_q;
45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1>, void>)); in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1, int>, void>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1, int[], char[]>, void>)); in main()
49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q2>, Q2::fn<>>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q2, int>, Q2::fn<int>>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q2, int[], char[]>, Q2::fn<int[], char[]>>)); in main()
53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q3>, mp_size_t<0>>)); in main()
54 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q3, int>, mp_size_t<1>>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q3, int[], char[]>, mp_size_t<2>>)); in main()
[all …]
Dmp_invoke_q_sf.cpp15 using boost::mp11::mp_invoke_q;
24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q>)); in main()
25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void>)); in main()
26 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void, void>)); in main()
27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, void, void, void>)); in main()
31 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qi>)); in main()
32 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_invoke_q, Qi, void>)); in main()
33 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qi, void, void>)); in main()
38 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_invoke_q, Qt>)); in main()
40 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_invoke_q, Qt, void>)); in main()
[all …]
Dmp_quote.cpp15 using boost::mp11::mp_invoke_q;
21 template<class Q, class... T> using Z = X<mp_invoke_q<Q, T>...>;
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void>, void>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, int[]>, int[]>)); in main()
56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void, void>, P<void, void>>)); in main()
57 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, char[], int[]>, P<char[], int[]>>)); in main()
63 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void, int>, void>)); in main()
64 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, char[], int[]>, char[]>)); in main()
Dmp_quote_trait.cpp19 using boost::mp11::mp_invoke_q; in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void>, void>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, int[]>, int[]>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void>, void*>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, int[]>, int(*)[]>)); in main()
51 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, void>, void const>)); in main()
52 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q, int[]>, int const[]>)); in main()
DJamfile139 run mp_invoke_q.cpp ;
/third_party/boost/boost/mp11/
Dutility.hpp212 template<class Q, class... T> using mp_invoke_q = typename detail::mp_invoke_q_impl<Q, T...>::type; typedef
216 template<class Q, class... T> using mp_invoke_q = typename mp_defer<Q::template fn, T...>::type; typedef
220 template<class Q, class... T> using mp_invoke_q = typename Q::template fn<T...>; typedef
227 …class... T> using mp_invoke BOOST_MP11_DEPRECATED("please use mp_invoke_q") = mp_invoke_q<Q, T...>;
235 using type = mp_invoke_q<Q, T...>;
245 template<class... T> using fn = mp_not< mp_invoke_q<mp_quote<P>, T...> >;
254 template<class T, class Q> using mp_reverse_invoke_q = mp_invoke_q<Q, T>;
Dalgorithm.hpp160 …template<class... U> struct _f_ { using type = mp_eval_if_q<mp_not<mp_invoke_q<Qp, U...>>, mp_firs…
165 …template<class... U> using _f = mp_eval_if_q<mp_not<mp_invoke_q<Qp, U...>>, mp_first<mp_list<U...>…
185 …template<class T1, class... T> using _f = mp_if< mp_invoke_q<Qp, T1, T...>, mp_list<T1>, mp_list<>…
/third_party/boost/libs/mp11/doc/mp11/
Dutility.adoc249 ## mp_invoke_q<Q, T...>
251 template<class Q, class... T> using mp_invoke_q = typename Q::template fn<T...>;
253 `mp_invoke_q<Q, T...>` evaluates the nested template `fn` of a quoted metafunction. `mp_invoke_q<mp…
255 .Using mp_invoke_q to invoke a list of metafunctions, technique 1
260 mp_apply<mp_all, mp_product<mp_invoke_q, LQ, mp_list<T>>>;
263 .Using mp_invoke_q to invoke a list of metafunctions, technique 2
266 mp_apply<mp_all, mp_transform_q<mp_bind_back<mp_invoke_q, T>, LQ>>;
269 .Using mp_invoke_q to invoke a list of metafunctions, technique 3
272 mp_apply<mp_all, mp_transform<mp_invoke_q, LQ, mp_fill<LQ, T>>>;
Dchangelog.adoc30 * Renamed `mp_invoke` to `mp_invoke_q`
/third_party/boost/boost/variant2/
Dvariant.hpp256 template<class I, class T, class Q> using var_alt_impl = mp11::mp_invoke_q<Q, variant_alternative_t…