Home
last modified time | relevance | path

Searched defs:mp_find_if_impl (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/boost/mp11/
Dalgorithm.hpp784 template<template<class...> class L, class... T, template<class...> class P> struct mp_find_if_impl struct
786 static constexpr mp_index_holder _v{ 0, false };
787 using type = mp_size_t< (_v + ... + P<T>::value).i_ >;
797 template<template<class...> class L, class... T, template<class...> class P> struct mp_find_if_impl struct
799 static constexpr bool _v[] = { P<T>::value... };
800 using type = mp_size_t< cx_find_index( _v, _v + sizeof...(T) ) >;
807 template<template<class...> class L, class... T, template<class...> class P> struct mp_find_if_impl struct
810 using type = mp_size_t<0>;
828 ….> class L, class T1, class... T, template<class...> class P> struct mp_find_if_impl<L<T1, T...>, … struct
830 …type = typename mp_if<P<T1>, mp_identity<mp_size_t<0>>, mp_find_if_impl_2<mp_list<T...>, P>>::type;