Searched defs:mp_find_impl (Results 1 – 1 of 1) sorted by relevance
/third_party/boost/boost/mp11/ |
D | algorithm.hpp | 697 template<template<class...> class L, class... T, class V> struct mp_find_impl<L<T...>, V> struct 699 static constexpr mp_index_holder _v{ 0, false }; 700 using type = mp_size_t< (_v + ... + std::is_same<T, V>::value).i_ >; 734 template<template<class...> class L, class... T, class V> struct mp_find_impl<L<T...>, V> struct 736 static constexpr bool _v[] = { std::is_same<T, V>::value... }; 737 using type = mp_size_t< cx_find_index( _v, _v + sizeof...(T) ) >; 744 template<template<class...> class L, class... T, class V> struct mp_find_impl<L<T...>, V> struct 747 using type = mp_size_t<0>; 759 template<template<class...> class L, class... T, class V> struct mp_find_impl<L<V, T...>, V> struct 761 using type = mp_size_t<0>; [all …]
|