/third_party/boost/libs/mp11/test/ |
D | mp_eval_if.cpp | 18 using boost::mp11::mp_identity; in main() 20 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_c<true, char[], mp_identity, void, void, void>, cha… in main() 21 …T_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_c<false, char[], mp_identity, void()>, mp_identity<void… in main() 27 using qt_identity = mp_quote<mp_identity>; in main() 29 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<std::true_type, char[], mp_identity, void, void, vo… in main() 30 …RAIT_TRUE((std::is_same<mp_eval_if<std::false_type, char[], mp_identity, void()>, mp_identity<void… in main() 33 …E((std::is_same<mp_eval_if_q<std::false_type, char[], qt_identity, void()>, mp_identity<void()>>)); in main() 37 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_int<-7>, char[], mp_identity, void, void, void>,… in main() 38 …TEST_TRAIT_TRUE((std::is_same<mp_eval_if<mp_int<0>, char[], mp_identity, void()>, mp_identity<void… in main() 41 …IT_TRUE((std::is_same<mp_eval_if_q<mp_int<0>, char[], qt_identity, void()>, mp_identity<void()>>)); in main() [all …]
|
D | mp_eval_if_not.cpp | 17 using boost::mp11::mp_identity; in main() 22 using qt_identity = mp_quote<mp_identity>; in main() 24 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_not<std::false_type, char[], mp_identity, void, voi… in main() 25 …T_TRUE((std::is_same<mp_eval_if_not<std::true_type, char[], mp_identity, void()>, mp_identity<void… in main() 28 …std::is_same<mp_eval_if_not_q<std::true_type, char[], qt_identity, void()>, mp_identity<void()>>)); in main() 32 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_not<mp_int<0>, char[], mp_identity, void, void, voi… in main() 33 …TRAIT_TRUE((std::is_same<mp_eval_if_not<mp_int<-7>, char[], mp_identity, void()>, mp_identity<void… in main() 36 …UE((std::is_same<mp_eval_if_not_q<mp_int<-7>, char[], qt_identity, void()>, mp_identity<void()>>)); in main() 40 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_eval_if_not<mp_size_t<0>, char[], mp_identity, void, void, … in main() 41 …IT_TRUE((std::is_same<mp_eval_if_not<mp_size_t<14>, char[], mp_identity, void()>, mp_identity<void… in main() [all …]
|
D | mp_eval_or.cpp | 29 using boost::mp11::mp_identity; in main() 32 BOOST_TEST_TRAIT_SAME(mp_eval_or<void, mp_identity>, void); in main() 33 BOOST_TEST_TRAIT_SAME(mp_eval_or<void, mp_identity, int>, mp_identity<int>); in main() 34 BOOST_TEST_TRAIT_SAME(mp_eval_or<void, mp_identity, int, int>, void); in main() 36 using Q_identity = mp_quote<mp_identity>; in main() 39 BOOST_TEST_TRAIT_SAME(mp_eval_or_q<void, Q_identity, int>, mp_identity<int>); in main()
|
D | mp_identity.cpp | 18 using boost::mp11::mp_identity; in main() 20 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<void const volatile>::type, void const volatile>)); in main() 21 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<void()>::type, void()>)); in main() 22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<int const[]>::type, int const[]>)); in main() 23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<X>::type, X>)); in main()
|
D | mp_valid.cpp | 38 using boost::mp11::mp_identity; in main() 40 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_identity>)); in main() 41 BOOST_TEST_TRAIT_TRUE((mp_valid<mp_identity, void>)); in main() 42 BOOST_TEST_TRAIT_FALSE((mp_valid<mp_identity, void, void>)); in main()
|
D | mp_invoke_q_sf.cpp | 19 using boost::mp11::mp_identity; 35 using Qt = mp_quote_trait<mp_identity>; in main()
|
D | mp_quote_trait.cpp | 17 using boost::mp11::mp_identity; in main() 22 using Q = mp_quote_trait<mp_identity>; in main()
|
D | mp_defer.cpp | 16 using boost::mp11::mp_identity; 22 template<class U> static mp_true f( mp_identity<typename U::type>* );
|
/third_party/boost/boost/mp11/detail/ |
D | mp_map_find.hpp | 26 using U = mp_inherit<mp_identity<T>...>; 28 …template<template<class...> class L, class... U> static mp_identity<L<K, U...>> f( mp_identity<L<K… 29 static mp_identity<void> f( ... );
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | utility.adoc | 16 ## mp_identity<T> 18 template<class T> struct mp_identity 23 `mp_identity` is a simple _transformation type trait_ (as per the C++ standard) 27 .Using mp_identity as a type trait 30 typename mp_if<std::is_reference<T>, mp_identity<T>, std::add_pointer<T>>::type; 33 .Using mp_identity to protect qualifiers and references 42 std::cout << typeid(mp_identity<T>).name() << std::endl; 48 print2<int const&>(); // 'mp_identity<int const &>' 54 template<class T> using mp_identity_t = typename mp_identity<T>::type;
|
/third_party/boost/boost/parameter/aux_/ |
D | has_nested_template_fn.hpp | 45 ::boost::mp11::mp_identity<U> const volatile* 72 ::boost::mp11::mp_identity<T> const volatile*
|
/third_party/boost/boost/parameter/aux_/pack/ |
D | make_arg_list.hpp | 150 , ::boost::mp11::mp_identity<UsedArgs> 169 , ::boost::mp11::mp_identity< 259 , ::boost::mp11::mp_identity<ArgumentPack> 367 , ::boost::mp11::mp_identity<
|
D | make_parameter_spec_items.hpp | 83 , ::boost::mp11::mp_identity< ::boost::parameter::void_> 200 , ::boost::mp11::mp_identity< ::boost::parameter::void_>
|
D | make_items.hpp | 29 , ::boost::mp11::mp_identity< ::boost::parameter::void_>
|
D | make_deduced_items.hpp | 29 , ::boost::mp11::mp_identity< ::boost::parameter::void_>
|
D | predicate.hpp | 64 , ::boost::mp11::mp_identity<
|
D | tag_type.hpp | 61 , ::boost::mp11::mp_identity<T>
|
/third_party/boost/boost/parameter/aux_/preprocessor/impl/ |
D | parenthesized_return_type.hpp | 30 using type = ::boost::mp11::mp_identity<Arg>; 40 using type = ::boost::mp11::mp_identity<void>;
|
/third_party/boost/libs/mp11/doc/article/ |
D | simple_cxx11_metaprogramming_2.adoc | 281 `mp_identity`. 283 template<class T> struct mp_identity 295 struct U: mp_identity<T>... {}; 296 using type = std::is_base_of<mp_identity<V>, U>; 321 inherit from `mp_identity<T>` indirectly, via an intermediate base class: 332 inherit_second<J, mp_identity<T>>... {}; 342 using type = std::is_base_of<mp_identity<V>, U>; 575 struct U: mp_identity<T>... {}; 578 static mp_identity<L<K, U...>> 579 f( mp_identity<L<K, U...>>* ); [all …]
|
/third_party/boost/boost/mp11/ |
D | set.hpp | 35 using type = mp_to_bool<std::is_base_of<mp_identity<V>, mp_inherit<mp_identity<T>...> > >;
|
D | utility.hpp | 22 template<class T> struct mp_identity struct 28 template<class T> using mp_identity_t = typename mp_identity<T>::type;
|
D | algorithm.hpp | 298 template<class... W> static mp_identity<L<W...>> f( U*..., mp_identity<W>*... ); 300 using R = decltype( f( (mp_identity<T>*)0 ... ) ); 639 mp_bool<(I == N1)>, mp_identity<T1>, 653 mp_bool<(I == N1)>, mp_identity<T1>, 830 …using type = typename mp_if<P<T1>, mp_identity<mp_size_t<0>>, mp_find_if_impl_2<mp_list<T...>, P>>…
|
/third_party/boost/boost/histogram/axis/ |
D | traits.hpp | 92 static decltype(auto) visit_impl(mp11::mp_identity<T0>, Visitor&& vis, Variant&& v) { in visit_impl() 97 static decltype(auto) visit_impl(mp11::mp_identity<T0*>, Visitor&& vis, Variant&& v) { in visit_impl() 106 return visit_impl(mp11::mp_identity<T0>{}, std::forward<Visitor>(vis), in visit()
|
/third_party/boost/boost/parameter/ |
D | template_keyword.hpp | 58 , ::boost::mp11::mp_identity
|
/third_party/boost/boost/gil/extension/toolbox/color_spaces/ |
D | ycbcr.hpp | 78 typename boost::mp11::mp_identity<T>::type const & lo, in clamp() 79 typename boost::mp11::mp_identity<T>::type const & hi) in clamp()
|