Home
last modified time | relevance | path

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

/third_party/boost/libs/mp11/test/
Dmp_take.cpp28 using boost::mp11::mp_take_c; in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L1, 0>, L1>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 0>, mp_list<>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 1>, mp_list<X1>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 2>, mp_list<X1, X2>>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 3>, mp_list<X1, X2, X3>>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 4>, mp_list<X1, X2, X3, X4>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L2, 5>, mp_list<X1, X2, X3, X4, X5>>)); in main()
55 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L3, 6>, mp_list<X1, X2, X3, X4, X5, X1>>)); in main()
56 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_take_c<L3, 7>, mp_list<X1, X2, X3, X4, X5, X1, X2>>)); in main()
[all …]
/third_party/boost/boost/gil/detail/
Dmp11.hpp21 using mp_pop_back = ::boost::mp11::mp_take_c<L, ::boost::mp11::mp_size<L>::value - 1>;
/third_party/boost/libs/safe_numerics/test/
Dtest_notepad.hpp9 mp_for_each<mp_take_c<L, 1024>>( std::forward<F>(f) );
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc365 ## mp_take_c<L, N>
367 template<class L, std::size_t N> using mp_take_c = /*...*/;
369 `mp_take_c<L, N>` returns a list of the same form as `L` containing the first `N` elements of `L`.
371 .mp_take_c
376 |*mp_take_c<L1, M>*|A~1~|...|A~m~ 3+|
383 Same as `mp_take_c`, but with a type argument `N`. `N::value` must be a nonnegative number.
393 template<class L> using mp_pop_back = mp_take_c<L, mp_size<L>::value - 1>;
400 mp_append<mp_take_c<L, I>, mp_push_front<mp_drop_c<L, I>, T...>>;
422 mp_append<mp_take_c<L, I>, mp_drop_c<L, J>>;
/third_party/boost/boost/mp11/
Dalgorithm.hpp452 template<class L, std::size_t N> using mp_take_c = typename detail::mp_take_c_impl<N, L>::type; typedef
459 template<class L> using mp_pop_back = mp_take_c<L, mp_size<L>::value - 1>;
1062 using L3 = mp_take_c<L2, 1024>;
1081 template<class L, std::size_t I, class... T> using mp_insert_c = mp_append<mp_take_c<L, I>, mp_push…
1087 template<class L, std::size_t I, std::size_t J> using mp_erase_c = mp_append<mp_take_c<L, I>, mp_dr…