Home
last modified time | relevance | path

Searched refs:mp_find (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/mp11/test/
Dmp_find.cpp25 using boost::mp11::mp_find; in main()
31 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L1, void>, mp_size_t<0>>)); in main()
35 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L2, void>, mp_size_t<6>>)); in main()
36 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L2, X1>, mp_size_t<0>>)); in main()
37 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L2, X2>, mp_size_t<1>>)); in main()
38 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L2, X3>, mp_size_t<3>>)); in main()
44 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L3, void>, mp_size_t<0>>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L4, void>, mp_size_t<6>>)); in main()
49 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L4, X1>, mp_size_t<0>>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_find<L4, X2>, mp_size_t<1>>)); in main()
[all …]
DJamfile86 run mp_find.cpp ;
/third_party/boost/boost/variant2/
Dvariant.hpp305 return v.index() == mp11::mp_find<variant<T...>, U>::value; in holds_alternative()
391 using I = mp11::mp_find<variant<T...>, U>; in get()
400 using I = mp11::mp_find<variant<T...>, U>; in get()
418 using I = mp11::mp_find<variant<T...>, U>; in get()
427 using I = mp11::mp_find<variant<T...>, U>; in get()
459 using I = mp11::mp_find<variant<T...>, U>; in get_if()
468 using I = mp11::mp_find<variant<T...>, U>; in get_if()
805 template<class U, class... T> using resolve_overload_index = mp11::mp_find<mp11::mp_list<T...>, res…
1574 …template<class U, class... A, class I = mp11::mp_find<variant<T...>, U>, class E = typename std::e…
1579 …template<class U, class V, class... A, class I = mp11::mp_find<variant<T...>, U>, class E = typena…
[all …]
/third_party/boost/boost/histogram/detail/
Dvariant_proxy.hpp53 const int which = static_cast<int>(mp11::mp_find<Variant, T>::value); in serialize()
/third_party/boost/boost/parameter/aux_/
Dset.hpp43 ::boost::mp11::mp_find<Set,K>
/third_party/boost/boost/gil/
Dutilities.hpp249 struct type_to_index : mp11::mp_find<Types, T>
/third_party/boost/boost/histogram/
Dunlimited_storage.hpp48 using next_type = mp11::mp_at_c<L, (mp11::mp_find<L, T>::value + 1)>;
154 return static_cast<unsigned>(mp11::mp_find<types, T>::value); in type_index()
/third_party/boost/libs/mp11/doc/mp11/
Dalgorithm.adoc647 ## mp_find<L, V>
649 template<class L, class V> using mp_find = /*...*/;
651 `mp_find<L, V>` returns the index at which the type `V` is located in the list `L`. It's an alias f…
652 …ero-based index of the first occurrence of `V` in `L`. If `L` does not contain `V`, `mp_find<L, V>`
/third_party/boost/boost/mp11/
Dalgorithm.hpp774 template<class L, class V> using mp_find = typename detail::mp_find_impl<L, V>::type; typedef
/third_party/boost/libs/mp11/doc/article/
Dsimple_cxx11_metaprogramming_2.adoc976 `mp_find<L, V>` algorithm, which returns the suffix of `L` starting with the