#ifndef TYPEASVALUE_SRC_LIST_DETAIL_FIND_VARIADIC_H_ #define TYPEASVALUE_SRC_LIST_DETAIL_FIND_VARIADIC_H_ #include "type.h" #include "conditional/if.h" namespace tav { namespace detail { template < template class Predicate, typename Head, typename... Tail > struct find_variadic { typedef If< Eval>, Head, Eval> > type; }; template < template class Predicate, typename Last > struct find_variadic { typedef If< Eval>, Last, void > type; }; } } #endif // TYPEASVALUE_SRC_LIST_DETAIL_FIND_VARIADIC_H_