Searched refs:mp_take (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/mp11/test/ |
D | mp_take.cpp | 27 using boost::mp11::mp_take; in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L1, mp_size_t<0>>, L1>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<0>>, mp_list<>>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<1>>, mp_list<X1>>)); in main() 48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<2>>, mp_list<X1, X2>>)); in main() 49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<3>>, mp_list<X1, X2, X3>>)); in main() 50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<4>>, mp_list<X1, X2, X3, X4>>)); in main() 51 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L2, mp_size_t<5>>, mp_list<X1, X2, X3, X4, X5>>)); in main() 62 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L3, mp_size_t< 6>>, mp_list<X1, X2, X3, X4, X5, X1>>)); in main() 63 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take<L3, mp_size_t< 7>>, mp_list<X1, X2, X3, X4, X5, X1, X2… in main() [all …]
|
D | Jamfile | 73 run mp_take.cpp ;
|
/third_party/boost/boost/mp11/ |
D | algorithm.hpp | 453 template<class L, class N> using mp_take = typename detail::mp_take_c_impl<std::size_t{ N::value },… typedef 1078 template<class L, class I, class... T> using mp_insert = mp_append<mp_take<L, I>, mp_push_front<mp_… 1084 template<class L, class I, class J> using mp_erase = mp_append<mp_take<L, I>, mp_drop<L, J>>; 1124 …name<L, mp_list>> using mp_rotate_impl = mp_assign<L, mp_append< mp_drop<L2, N>, mp_take<L2, N> >>;
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | algorithm.adoc | 379 ## mp_take<L, N> 381 template<class L, class N> using mp_take = /*...*/; 415 mp_append<mp_take<L, I>, mp_push_front<mp_drop<L, I>, T...>>; 437 mp_append<mp_take<L, I>, mp_drop<L, J>>;
|