Home
last modified time | relevance | path

Searched refs:mp_first (Results 1 – 25 of 51) sorted by relevance

123

/third_party/boost/boost/mp11/
Dmap.hpp29 template<class M, class T> using mp_map_insert = mp_if< mp_map_contains<M, mp_first<T>>, M, mp_push…
39 using K = mp_first<T>;
43 template<class V> struct _f { using type = mp_if< std::is_same<mp_first<V>, K>, T, V >; };
58 template<class U> using _f = std::is_same<mp_first<T>, mp_first<U>>;
61 template<class L> using _f3 = mp_assign<L, mp_list<mp_first<L>, mp_rename<L, F> > >;
63 …using type = mp_if< mp_map_contains<M, mp_first<T>>, mp_transform_if<_f, _f3, M>, mp_push_back<M, …
77 template<class T> using _f = std::is_same<mp_first<T>, K>;
86 template<class M> using mp_map_keys = mp_transform<mp_first, M>;
/third_party/boost/libs/mp11/test/
Dmp_front.cpp20 using boost::mp11::mp_first; in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_first<L1>, void>)); in main()
28 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_first<L2>, int[]>)); in main()
32 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_first<L3>, int>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_first<L4>, char>)); in main()
40 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_first<L5>, void()>)); in main()
Dmp_iterate.cpp30 using boost::mp11::mp_first;
36 using R1 = mp_iterate<L1, mp_first, mp_rest>; in test()
40 using R2 = mp_iterate<V2, mp_first, mp_second>; in test()
Dmp_filter.cpp34 using boost::mp11::mp_first;
39 template<class L, std::size_t N> using at_c = mp_first< mp_filter_q< second_is<N>, L, mp_iota<mp_si…
/third_party/boost/libs/mp11/doc/mp11/
Dmap.adoc40 mp_if< mp_map_contains<M, mp_first<T>>, M, mp_push_back<M, T> >;
42 Inserts the element `T` into the map `M`, if an element with a key `mp_first<T>` is not already in …
48 If the map `M` does not contain an element with a key `mp_first<T>`, inserts it (using `mp_push_bac…
55 If the map `M` does not contain an element with a key `mp_first<T>`, inserts it (using `mp_push_bac…
86 template<class M> using mp_map_keys = mp_transform<mp_first, M>;
/third_party/boost/boost/mp11/detail/
Dmp_min_element.hpp31 template<class L, template<class...> class P> using mp_min_element = mp_fold_q<mp_rest<L>, mp_first
45 template<class L, template<class...> class P> using mp_max_element = mp_fold_q<mp_rest<L>, mp_first
/third_party/boost/libs/safe_numerics/test/
Dtest_checked_cast_constexpr.cpp36 static constexpr const size_t first = mp_first<I>(); // index of first argument
43 using TResult = mp_at<test_types, mp_first<I>>;
Dtest_cast_constexpr.cpp43 …constexpr static bool value = '.' == test_casting_results[mp_first<T>::value][mp_second<T>::value];
64 const static std::size_t i = mp_first<L2>();
Dtest_checked_cast.cpp56 static constexpr const size_t first = mp_first<I>(); // index of first argument
69 using TResult = mp_at<test_types, mp_first<I>>; in operator ()()
Dtest_less_than_automatic.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_left_shift_automatic.cpp37 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_and_native.cpp37 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_or_automatic.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_or_native.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_xor_native.cpp35 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_divide_native.cpp38 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_equal_native.cpp35 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_and_automatic.cpp37 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_equal_automatic.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_xor_automatic.cpp34 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_right_shift_automatic.cpp37 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_subtract_automatic.cpp38 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_modulus_native.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
Dtest_multiply_native.cpp36 constexpr size_t i1 = mp_first<T>(); // index of first argument in operator ()()
/third_party/boost/boost/histogram/detail/
Ddetect.hpp153 using is_sequence_of_axis = mp11::mp_and<is_iterable<T>, is_axis<mp11::mp_first<T>>>;
157 mp11::mp_and<is_iterable<T>, is_axis_variant<mp11::mp_first<T>>>;
161 mp11::mp_and<is_iterable<T>, is_any_axis<mp11::mp_first<T>>>;
196 class = std::enable_if_t<is_any_axis<mp11::mp_first<std::decay_t<T>>>::value>>

123