Home
last modified time | relevance | path

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

/third_party/boost/libs/mp11/test/
Dmp_from_sequence.cpp21 using boost::mp11::mp_from_sequence; in main()
27 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<S<int>>, mp_list<>>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<S<int, 1>>, mp_list<mp_int<1>>>)); in main()
29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<S<int, 1, 3>>, mp_list<mp_int<1>, mp_int<3>>>… in main()
30 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<S<int, 1, 3, 5>>, mp_list<mp_int<1>, mp_int<3… in main()
32 … BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<make_integer_sequence<int, 0>>, mp_list<>>)); in main()
33 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<make_integer_sequence<int, 1>>, mp_list<mp_in… in main()
34 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<make_integer_sequence<int, 2>>, mp_list<mp_in… in main()
35 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<make_integer_sequence<int, 3>>, mp_list<mp_in… in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_from_sequence<make_index_sequence<0>>, mp_list<>>)); in main()
[all …]
DJamfile110 run mp_from_sequence.cpp ;
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming.adoc801 to a type list, so we'll introduce a function `mp_from_sequence` that does
812 template<class S> using mp_from_sequence = typename mp_from_sequence_impl<S>::type;
825 using list2 = mp_from_sequence<make_index_sequence<N>>;
844 using list2 = mp_from_sequence<make_index_sequence<N>>;
879 template<class N> using mp_iota = mp_from_sequence<make_index_sequence<N::value>>;
908 template<class N> using mp_iota = mp_from_sequence<make_index_sequence<N::value>>;
927 using list2 = mp_from_sequence<make_index_sequence<N>>;
/third_party/boost/boost/mp11/
Dalgorithm.hpp324 template<class S> using mp_from_sequence = typename detail::mp_from_sequence_impl<S>::type; typedef
327 template<std::size_t N> using mp_iota_c = mp_from_sequence<make_index_sequence<N>>;
328 template<class N> using mp_iota = mp_from_sequence<make_integer_sequence<typename std::remove_const…
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc322 ## mp_from_sequence<S>
324 template<class S> using mp_from_sequence = /*...*/
326 `mp_from_sequence` transforms an integer sequence produced by `make_integer_sequence` into an `mp_l…
331 `mp_from_sequence<S<T, I...>>` is an alias for `mp_list<std::integral_constant<T, I>...>`.