/third_party/boost/libs/mp11/test/ |
D | mp_iota.cpp | 18 using boost::mp11::mp_iota; in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<0>>, mp_list<>>)); in main() 30 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<1>>, mp_list<mp_size_t<0>>>)); in main() 31 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<2>>, mp_list<mp_size_t<0>, mp_size_t<1>>>)); in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<3>>, mp_list<mp_size_t<0>, mp_size_t<1>, mp_… in main() 33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_size_t<4>>, mp_list<mp_size_t<0>, mp_size_t<1>, mp_… in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_int<0>>, mp_list<>>)); in main() 36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_int<1>>, mp_list<mp_int<0>>>)); in main() 37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_int<2>>, mp_list<mp_int<0>, mp_int<1>>>)); in main() 38 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_iota<mp_int<3>>, mp_list<mp_int<0>, mp_int<1>, mp_int<2>>>)… in main() [all …]
|
D | mp_transform_if.cpp | 39 using boost::mp11::mp_iota; in main() 59 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, third, L1, L1, mp_iota<mp_size<L1>… in main() 60 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, third, L2, L2, mp_iota<mp_size<L2>… in main() 61 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, third, L3, L3, mp_iota<mp_size<L3>… in main() 63 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fourth, L1, L1, L1, mp_iota<mp_siz… in main() 64 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fourth, L2, L2, L2, mp_iota<mp_siz… in main() 65 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fourth, L3, L3, L3, mp_iota<mp_siz… in main() 67 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fifth, L1, L1, L1, L1, mp_iota<mp_… in main() 68 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fifth, L2, L2, L2, L2, mp_iota<mp_… in main() 69 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if<is_not_ref, fifth, L3, L3, L3, L3, mp_iota<mp_… in main()
|
D | mp_transform_if_q.cpp | 52 using boost::mp11::mp_iota; in main() 72 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_third, L1, L1, mp_iota<mp_si… in main() 73 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_third, L2, L2, mp_iota<mp_si… in main() 74 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_third, L3, L3, mp_iota<mp_si… in main() 76 …TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fourth, L1, L1, L1, mp_iota<mp_size<L1>>>, mp… in main() 77 …TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fourth, L2, L2, L2, mp_iota<mp_size<L2>>>, st… in main() 78 …TRUE((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fourth, L3, L3, L3, mp_iota<mp_size<L3>>>, st… in main() 80 …E((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fifth, L1, L1, L1, L1, mp_iota<mp_size<L1>>>, mp… in main() 81 …E((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fifth, L2, L2, L2, L2, mp_iota<mp_size<L2>>>, st… in main() 82 …E((std::is_same<mp_transform_if_q<Q_is_not_ref, Q_fifth, L3, L3, L3, L3, mp_iota<mp_size<L3>>>, st… in main()
|
D | mp_filter.cpp | 36 using boost::mp11::mp_iota; 39 template<class L, std::size_t N> using at_c = mp_first< mp_filter_q< second_is<N>, L, mp_iota<mp_si…
|
D | tuple_transform_2.cpp | 156 using Tp = mp_rename<mp_iota< mp_int<N> >, std::tuple>; in main()
|
D | Jamfile | 70 run mp_iota.cpp ;
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | examples.adoc | 191 template<class L> using F = mp_iota<mp_size<L>>; 307 mp_product<tuple_element, mp_list<T>, mp_iota<std::tuple_size<T>>>; 310 (`mp_iota<N>` is an algorithm that returns an `mp_list` with elements `mp_size_t<0>`, `mp_size_t<1>… 314 only the second loop (over `mp_iota<N>`, where `N` is `tuple_size<T>`), remains, and we get a list … 321 mp_transform_q<mp_bind_front<tuple_element, T>, mp_iota<std::tuple_size<T>>>; 326 template<class L> using F = mp_iota<mp_size<L>>; 341 mp_product<tuple_element, mp_list<T>, mp_iota<std::tuple_size<T>>>;
|
D | algorithm.adoc | 339 ## mp_iota<N> 341 template<class N> using mp_iota = /*...*/; 347 .mp_iota 350 |*mp_iota<mp_int<4>>*|mp_int<0>|mp_int<1>|mp_int<2>|mp_int<3>
|
/third_party/boost/boost/gil/ |
D | utilities.hpp | 261 typename ChannelMapping = mp11::mp_iota
|
/third_party/boost/boost/mp11/ |
D | algorithm.hpp | 328 template<class N> using mp_iota = mp_from_sequence<make_integer_sequence<typename std::remove_const… typedef 347 using _map = mp_transform<mp_list, mp_iota<mp_size<L> >, L>; 1024 using type = mp_transform_if<_p, _f, L, mp_iota<mp_size<L> > >;
|
/third_party/boost/libs/mp11/doc/article/ |
D | simple_cxx11_metaprogramming.adoc | 742 could write an algorithm `mp_iota` for that (named after 879 template<class N> using mp_iota = mp_from_sequence<make_index_sequence<N::value>>; 881 template<class L> using F = mp_iota<mp_size<L>>; 908 template<class N> using mp_iota = mp_from_sequence<make_index_sequence<N::value>>; 910 template<class L> using F = mp_iota<mp_size<L>>;
|