Home
last modified time | relevance | path

Searched refs:mp_iterate (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_iterate.cpp29 using boost::mp11::mp_iterate;
36 using R1 = mp_iterate<L1, mp_first, mp_rest>; in test()
40 using R2 = mp_iterate<V2, mp_first, mp_second>; in test()
46 using R3 = mp_iterate<V3, first_type, next_type>; in test()
64 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iterate<X4, mp_identity_t, next_type>, mp_list<X4, X3, X2, … in main()
65 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iterate<X4, first_type, next_type>, mp_list<int, float, dou… in main()
DJamfile124 run mp_iterate.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc743 ## mp_iterate<V, F, R>
746 using mp_iterate = /*...*/;
748 `mp_iterate<V, F, R>` applies `R` to `V` successively until that's no longer possible,
754 `mp_iterate` is in a way the reverse operation of `mp_reverse_fold`. Given
760 which when passed as `V` to `mp_iterate<V, mp_first, mp_second>` recovers the original
763 .Using mp_iterate
770 using R1 = mp_iterate<L1, mp_first, mp_rest>; // L1
776 using R2 = mp_iterate<V2, mp_first, mp_second>; // L1
786 using R3 = mp_iterate<Y4, mp_identity_t, next_type>; // mp_list<Y4, Y3, Y2, Y1>
787 using R4 = mp_iterate<Y4, value_type, next_type>; // mp_list<int, float, double>
[all …]
Dchangelog.adoc26 * Added `mp_iterate`
/third_party/boost/boost/mp11/
Dalgorithm.hpp1212 template<class V, template<class...> class F, template<class...> class R> using mp_iterate = typena… typedef
1225 using type = mp_push_front<mp_iterate<R<V>, F, R>, F<V>>;
1230 template<class V, class Qf, class Qr> using mp_iterate_q = mp_iterate<V, Qf::template fn, Qr::templ…