Home
last modified time | relevance | path

Searched refs:mp_replace_third (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_replace_third.cpp25 using boost::mp11::mp_replace_third; in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_third<L3, void>, mp_list<X1, X2, void>>)); in main()
34 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_third<L4, void>, mp_list<X1, X2, void, X4>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_third<L3, void>, std::tuple<X1, X2, void>>)); in main()
44 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_third<L4, void>, std::tuple<X1, X2, void, X4>>)); in main()
DJamfile43 run mp_replace_third.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dlist.adoc370 ## mp_replace_third<L, T>
372 template<class L, class T> using mp_replace_third = /*...*/;
374 `mp_replace_third<L, T>` replaces the third element of the list `L` with `T`. That is, `mp_replace_…
377 .Using mp_replace_third with std::tuple
380 using R1 = mp_replace_third<L1, void>; // std::tuple<float, double, void>
383 .Using mp_replace_third with mp_list
386 using R2 = mp_replace_third<L2, void>; // mp_list<char[1], char[2], void, char[4]>;
/third_party/boost/boost/mp11/
Dlist.hpp266 template<class L, class T> using mp_replace_third = typename detail::mp_replace_third_impl<L, T>::t… typedef