Home
last modified time | relevance | path

Searched refs:mp_transform (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/libs/mp11/test/
Dmp_transform.cpp47 using boost::mp11::mp_transform; in main()
51 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<mp_list, L1>, mp_list<mp_list<X1>, mp_list<X2>, m… in main()
52 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::tuple, L1>, mp_list<std::tuple<X1>, std::tup… in main()
53 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::add_pointer, L1>, mp_list<std::add_pointer<X… in main()
54 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<add_pointer, L1>, mp_list<X1*, X2*, X3*, X4*>>)); in main()
58 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<mp_list, L1, L2>, mp_list<mp_list<X1, Y1>, mp_lis… in main()
59 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::tuple, L1, L2>, mp_list<std::tuple<X1, Y1>, … in main()
60 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::pair, L1, L2>, mp_list<std::pair<X1, Y1>, st… in main()
64 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<mp_list, L1, L2, L3>, mp_list<mp_list<X1, Y1, Z1>… in main()
65 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform<std::tuple, L1, L2, L3>, mp_list<std::tuple<X1, Y… in main()
[all …]
Dmp_filter.cpp47 using boost::mp11::mp_transform; in main()
56 using L2 = mp_transform<mod_2, L1>; in main()
57 using L3 = mp_transform<mod_3, L1>; in main()
58 using L6 = mp_transform<mod_6, L1>; in main()
Dmp_flatten.cpp20 using boost::mp11::mp_transform; in main()
35 using L4 = mp_transform<mp_list, L3>; in main()
41 using L5 = mp_transform<std::tuple, L3>; in main()
61 using L4 = mp_transform<mp_list, L3>; in main()
67 using L5 = mp_transform<std::tuple, L3>; in main()
Dmp_append_2.cpp24 using boost::mp11::mp_transform; in main()
29 using L2 = mp_transform<W, L1>; in main()
Dmp_transform_sf.cpp16 using boost::mp11::mp_transform;
22 template<class... L> using transform = mp_transform<F, L...>;
Dmp_bind_front.cpp41 using L2 = mp_transform<mp_bind_front<is_base_of_t, B>::fn, L1>; in main()
51 using L2 = mp_transform<mp_bind_front_q<mp_quote<is_base_of_t>, B>::fn, L1>; in main()
Dmp_bind_back.cpp41 using L2 = mp_transform<mp_bind_back<is_base_of_t, D>::fn, L1>; in main()
51 using L2 = mp_transform<mp_bind_back_q<mp_quote<is_base_of_t>, D>::fn, L1>; in main()
Dmp_reverse.cpp75 using boost::mp11::mp_transform; in main()
88 using R3 = mp_transform<mp_plus, R1, R2>; in main()
Dmpl.cpp88 …is_same<typename mpl::transform<L1, std::add_pointer<mpl::_1>>::type, mp_transform<add_pointer_t, … in test()
/third_party/boost/boost/gil/extension/dynamic_image/
Dany_image_view.hpp30 struct views_get_const_t : mp11::mp_transform<get_const_t, Views> {};
139 using type = mp11::mp_transform<dynamic_step_view, any_image_view<Views...>>;
158 using type = mp11::mp_transform<dynamic_step_view, any_image_view<Views...>>;
173 using type = mp11::mp_transform<dynamic_step_view, any_image_view<Views...>>;
188 using type = mp11::mp_transform<dynamic_step_view, any_image_view<Views...>>;
Dimage_view_factory.hpp291 struct views_get_nthchannel_type : mp11::mp_transform<get_nthchannel_type, Views> {};
331 using type = mp11::mp_transform<ccvt, Views>;
/third_party/boost/libs/variant2/test/
Dvariant_many_types.cpp104 test< mp_transform<X, V> >(); in main()
105 test< mp_transform<Y, V> >(); in main()
106 test< mp_transform<Z, V> >(); in main()
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming.adoc298 ## mp_transform
313 We'll call our algorithm `mp_transform`, and `mp_transform<F, L>` will apply
318 There are many ways to implement `mp_transform`; the one we'll pick will make
349 On to `mp_transform`:
354 using mp_transform = typename mp_transform_impl<F, L>::type;
366 using _rest = mp_transform<F, L<T...>>;
379 using mp_transform = typename mp_transform_impl<F, L>::type;
396 using result = mp_transform<add_pointer, input>;
401 ## mp_transform, part two
414 `F`, this task appears very similar to `mp_transform`, except we need to use a
[all …]
/third_party/boost/boost/type_erasure/detail/
Dcheck_map.hpp89 ::boost::mp11::mp_transform<
93 ::boost::mp11::mp_transform<
Dextract_concept.hpp65 … ::boost::mp11::mp_transform< ::boost::type_erasure::detail::extract_concept_or_void, L1, L2>,
Dinstantiate.hpp63 ::boost::mp11::mp_transform<
/third_party/boost/libs/mp11/doc/mp11/
Doverview.adoc30 to the list `std::tuple<int, float>` by way of `mp_transform<std::add_pointer_t, std::tuple<int, fl…
33 using R = mp_transform<mp_list, std::tuple<int, float>>;
Dalgorithm.adoc16 ## mp_transform<F, L...>
18 template<template<class...> class F, class... L> using mp_transform = /*...*/;
20 `mp_transform<F, L1<T1...>, L2<T2...>, ..., Ln<Tn...>>` applies `F` to each successive tuple of ele…
22 .Using mp_transform to produce a list of pointers from a list of pointees
28 using R1 = mp_transform<add_pointer_t, L1>; // std::tuple<void*, int*, float*>
31 .Using mp_transform to compare the contents of two lists of types
36 using R1 = mp_apply<mp_all, mp_transform<std::is_same, L1, L2>>; // mp_true
39 .Using mp_transform to compare the contents of two lists of integral constants
46 using R1 = mp_apply<mp_all, mp_transform<eq, L1, L2>>; // mp_true
49 .mp_transform on one list
[all …]
Dexamples.adoc134 mp_transform<common_type_t, Tp1, Tp2>;
212 using list3 = mp_transform<mp_fill, list1, list2>;
218 using list4 = mp_transform<F, list1>;
354 using list3 = mp_transform<mp_fill, list1, list2>;
360 using list4 = mp_transform<F, list1>;
/third_party/boost/libs/gil/test/core/pixel/
Dpixel_reference_is_mutable.cpp27 mp_transform in main()
Dis_pixel.cpp35 mp_transform in main()
/third_party/boost/boost/mp11/
Dalgorithm.hpp111 template<template<class...> class F, class... L> using mp_transform = typename mp_if<typename detai… typedef
117 template<template<class...> class F, class... L> using mp_transform = typename detail::mp_transform… typedef
121 template<template<class...> class F, class... L> using mp_transform = typename mp_if<mp_same<mp_siz… typedef
127 template<class Q, class... L> using mp_transform_q = mp_transform<Q::template fn, L...>;
136 template<class V, class T> using _f = mp_transform<mp_push_back, V, T>;
142 using type = mp_transform<_g, A2>;
169 using type = mp_transform<_f, L...>;
187 using _t1 = mp_transform<_f, L1, L...>;
347 using _map = mp_transform<mp_list, mp_iota<mp_size<L> >, L>;
1175 using S2 = mp_transform<_f, S1>;
Dmap.hpp86 template<class M> using mp_map_keys = mp_transform<mp_first, M>;
/third_party/boost/boost/gil/
Ddevice_n.hpp50 using type = mp11::mp_transform<color_t, mp11::mp_iota_c<N>>;
/third_party/boost/libs/safe_numerics/test/
Dtest_construction.cpp157 mp_transform<

12