Home
last modified time | relevance | path

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

/third_party/boost/libs/mp11/test/
Dmp_drop.cpp28 using boost::mp11::mp_drop_c; in main()
34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L1, 0>, L1>)); in main()
39 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 0>, mp_list<X1, X2, X3, X4, X5>>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 1>, mp_list<X2, X3, X4, X5>>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 2>, mp_list<X3, X4, X5>>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 3>, mp_list<X4, X5>>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 4>, mp_list<X5>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 5>, mp_list<>>)); in main()
57 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L1, 0>, L1>)); in main()
62 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_drop_c<L2, 0>, std::tuple<X1, X2, X3, X4, X5>>)); in main()
[all …]
/third_party/boost/libs/safe_numerics/test/
Dtest_notepad.hpp10 return mp_for_each_1<mp_drop_c<L, 1024>>( std::forward<F>(f) );
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc302 ## mp_drop_c<L, N>
304 template<class L, std::size_t N> using mp_drop_c = /*...*/;
306 `mp_drop_c<L, N>` removes the first `N` elements of `L` and returns the result.
308 .mp_drop_c
313 |*mp_drop_c<L1, M>*|A~m+1~|...|A~n~ 3+|
320 Same as `mp_drop_c`, but with a type argument `N`. `N::value` must be a nonnegative number.
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.hpp307 template<class L, std::size_t N> using mp_drop_c = typename detail::mp_drop_impl<L, mp_repeat_c<mp_… typedef
1063 using L4 = mp_drop_c<L2, 1024>;
1081 …, class... T> using mp_insert_c = mp_append<mp_take_c<L, I>, mp_push_front<mp_drop_c<L, I>, T...>>;
1087 …ss L, std::size_t I, std::size_t J> using mp_erase_c = mp_append<mp_take_c<L, I>, mp_drop_c<L, J>>;
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming_2.adoc829 template<class L, std::size_t N> using mp_drop_c =
832 template<class L, class N> using mp_drop = mp_drop_c<L, N::value>;