Home
last modified time | relevance | path

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

/third_party/boost/libs/mp11/test/
Dmp_flatten.cpp19 using boost::mp11::mp_flatten; in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L1>, L1>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L2>, L2>)); in main()
29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L3>, L3>)); in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L1, L1>, L1>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L2, L2>, L2>)); in main()
33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L3, L3>, L3>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4>, L3>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, mp_list<>>, L3>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_flatten<L4, std::tuple<>>, L4>)); in main()
[all …]
DJamfile119 run mp_flatten.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dchangelog.adoc21 * Added `mp_flatten`
Dalgorithm.adoc546 ## mp_flatten<L>
548 template<class L, class L2 = mp_clear<L>> using mp_flatten = /*...*/;
553 .Using mp_flatten
556 using R1 = mp_flatten<L1>; // tuple<int, void, float, double>
559 using R2a = mp_flatten<L2>; // mp_list<int, float, tuple<void>>
560 using R2b = mp_flatten<L2, tuple<>>; // mp_list<int, mp_list<float>, void>
563 using R3 = mp_flatten<L3>; // mp_list<float, mp_list<void>>
/third_party/boost/boost/mp11/
Dalgorithm.hpp542 template<class L, class L2 = mp_clear<L>> using mp_flatten = mp_apply<mp_append, mp_push_front<mp_t… typedef