Home
last modified time | relevance | path

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

/third_party/boost/libs/mp11/test/
Dmp_replace_second.cpp25 using boost::mp11::mp_replace_second; in main()
30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L2, void>, mp_list<X1, void>>)); in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L3, void>, mp_list<X1, void, X3>>)); in main()
38 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L4, void>, mp_list<X1, void, X3, X4>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L2, void>, std::tuple<X1, void>>)); in main()
48 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L3, void>, std::tuple<X1, void, X3>>)); in main()
52 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L4, void>, std::tuple<X1, void, X3, X4>>)); in main()
58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_replace_second<L2, void>, std::pair<X1, void>>)); in main()
DJamfile42 run mp_replace_second.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dlist.adoc345 ## mp_replace_second<L, T>
347 template<class L, class T> using mp_replace_second = /*...*/;
349 `mp_replace_second<L, T>` replaces the second element of the list `L` with `T`. That is, `mp_replac…
352 .Using mp_replace_second with std::pair
355 using R1 = mp_replace_second<L1, void>; // std::pair<int, void>
358 .Using mp_replace_second with std::tuple
361 using R2 = mp_replace_second<L2, void>; // std::tuple<float, void, long double>
367 using R3 = mp_replace_second<L3, void>; // mp_list<char[1], void, char[3], char[4]>;
/third_party/boost/boost/mp11/
Dlist.hpp247 template<class L, class T> using mp_replace_second = typename detail::mp_replace_second_impl<L, T>:… typedef