Searched refs:mp_count_if (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/libs/mp11/test/ |
D | mp_count_if.cpp | 23 using boost::mp11::mp_count_if; in main() 29 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L1, std::is_const>, mp_size_t<0>>)); in main() 33 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_volatile>, mp_size_t<0>>)); in main() 34 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_const>, mp_size_t<2>>)); in main() 35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_pointer>, mp_size_t<3>>)); in main() 41 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L1, std::is_const>, mp_size_t<0>>)); in main() 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_volatile>, mp_size_t<0>>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_const>, mp_size_t<2>>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_pointer>, mp_size_t<3>>)); in main() 53 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_count_if<L2, std::is_volatile>, mp_size_t<0>>)); in main() [all …]
|
D | Jamfile | 62 run mp_count_if.cpp ;
|
/third_party/boost/boost/mp11/detail/ |
D | mp_count.hpp | 109 template<class L, template<class...> class P> using mp_count_if = typename detail::mp_count_if_impl… typedef 110 template<class L, class Q> using mp_count_if_q = mp_count_if<L, Q::template fn>;
|
/third_party/boost/boost/mp11/ |
D | function.hpp | 86 template<class... T> using mp_all = mp_bool< mp_count_if< mp_list<T...>, mp_not >::value == 0 >; 136 template<class... T> using mp_any = mp_bool< mp_count_if< mp_list<T...>, mp_to_bool >::value != 0 >;
|
D | algorithm.hpp | 1002 template<class L, template<class...> class P> using mp_all_of = mp_bool< mp_count_if<L, P>::value =… 1006 template<class L, template<class...> class P> using mp_none_of = mp_bool< mp_count_if<L, P>::value … 1010 template<class L, template<class...> class P> using mp_any_of = mp_bool< mp_count_if<L, P>::value !…
|
/third_party/boost/libs/mp11/doc/mp11/ |
D | algorithm.adoc | 207 ## mp_count_if<L, P> 209 template<class L, template<class...> class P> using mp_count_if = /*...*/; 211 `mp_count_if<L, P>` returns `mp_size_t<N>`, where `N` is the number of elements `T` of `L` for whic… 215 template<class L, class Q> using mp_count_if_q = mp_count_if<L, Q::template fn>; 217 As `mp_count_if`, but takes a quoted metafunction. 819 mp_bool< mp_count_if<L, P>::value == mp_size<L>::value >; 832 mp_bool< mp_count_if<L, P>::value == 0 >; 845 mp_bool< mp_count_if<L, P>::value != 0 >;
|
/third_party/boost/libs/mp11/doc/article/ |
D | simple_cxx11_metaprogramming.adoc | 1098 Finally, let me show the implementations of `mp_count` and `mp_count_if`, for 1100 number of occurrences of the type `V` in the list `L`; `mp_count_if<L, P>` 1143 `mp_count_if` is similarly straightforward: 1154 using mp_count_if = typename mp_count_if_impl<L, P>::type; 1170 using mp_count_if = typename mp_count_if_impl<L, P>::type;
|