Home
last modified time | relevance | path

Searched refs:mp_at (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_at_sf.cpp16 using boost::mp11::mp_at;
22 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at>)); in main()
23 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void>)); in main()
24 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, void>)); in main()
25 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, void, void>)); in main()
27 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, void, mp_size_t<0>>)); in main()
29 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, mp_list<>, mp_size_t<0>>)); in main()
31 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_at, mp_list<void>, mp_size_t<0>>)); in main()
32 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_at, mp_list<void>, mp_size_t<1>>)); in main()
34 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_at, mp_list<void, void>, mp_size_t<0>>)); in main()
[all …]
Dmp_at.cpp27 using boost::mp11::mp_at; in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<0>>, X1>)); in main()
41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<1>>, X2>)); in main()
42 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<2>>, X3>)); in main()
43 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<3>>, X4>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<4>>, X5>)); in main()
56 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<0>>, X1>)); in main()
57 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<1>>, X2>)); in main()
58 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<2>>, X3>)); in main()
59 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_at<L1, mp_size_t<3>>, X4>)); in main()
[all …]
DJamfile71 run mp_at.cpp ;
/third_party/boost/libs/safe_numerics/test/
Dtest_checked_cast_constexpr.cpp43 using TResult = mp_at<test_types, mp_first<I>>;
44 using TArg = typename mp_at<test_values, mp_second<I>>::value_type;
45 static constexpr TArg v = mp_at<test_values, mp_second<I>>()();
Dtest_checked_cast.cpp69 using TResult = mp_at<test_types, mp_first<I>>; in operator ()()
70 using TArg = typename mp_at<test_values, mp_second<I>>::value_type; in operator ()()
71 static constexpr TArg v = mp_at<test_values, mp_second<I>>()(); in operator ()()
/third_party/boost/boost/mp11/detail/
Dmpl_common.hpp44 using type = mp11::mp_at<L, I>;
/third_party/boost/boost/gil/extension/io/tiff/detail/
Ddevice.hpp70 mp11::mp_at<typename Property::arg_types, std::integral_constant<int, 0>> length; in call_me()
71 mp11::mp_at<typename Property::arg_types, std::integral_constant<int, 1>> pointer; in call_me()
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming_2.adoc644 ## mp_at
649 `mp_at<L, I>`, where `L` is a list and `I` is an `integral_constant` that
653 The recursive implementation of `mp_at` is:
659 template<class L, class I> using mp_at = typename mp_at_c_impl<L, I::value>::type;
673 and the compile times for making `N` calls to `mp_at` with a list of size `N`
723 // mp_at
741 template<class L, class I> using mp_at = mp_at_c<L, I::value>;
754 Are we done with `mp_at`, then?
773 // mp_at
783 template<class L, class I> using mp_at = typename mp_at_c_impl<L, I::value>::type;
[all …]
/third_party/boost/boost/variant2/
Dvariant.hpp290 …... T> struct variant_alternative<I, variant<T...>>: mp11::mp_defer<mp11::mp_at, variant<T...>, mp…
979 using U = mp11::mp_at<mp11::mp_list<none, T...>, I>; in operator ()()
1069 using U = mp11::mp_at<mp11::mp_list<none, T...>, I>; in operator ()()
1080 using U = mp11::mp_at<mp11::mp_list<none, T...>, I>; in operator ()()
1702 using J = mp11::mp_find<mp11::mp_list<T...>, mp11::mp_at<mp11::mp_list<U...>, I>>; in operator ()()
1726 using J = mp11::mp_find<mp11::mp_list<T...>, mp11::mp_at<mp11::mp_list<U...>, I>>; in operator ()()
1763 using J = mp11::mp_find<mp11::mp_list<U...>, mp11::mp_at<mp11::mp_list<T...>, I>>; in operator ()()
1785 using J = mp11::mp_find<mp11::mp_list<U...>, mp11::mp_at<mp11::mp_list<T...>, I>>; in operator ()()
1807 using J = mp11::mp_find<mp11::mp_list<U...>, mp11::mp_at<mp11::mp_list<T...>, I>>; in operator ()()
1833 using J = mp11::mp_find<mp11::mp_list<U...>, mp11::mp_at<mp11::mp_list<T...>, I>>; in operator ()()
/third_party/boost/boost/gil/
Dcolor_base.hpp52 struct mapping_transform : mp11::mp_at
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc359 ## mp_at<L, I>
361 template<class L, class I> using mp_at = /*...*/;
/third_party/boost/boost/mp11/
Dalgorithm.hpp374 template<class L, class I> using mp_at = mp_at_c<L, std::size_t{ I::value }>; typedef