#ifndef TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_ #define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_ #include "type.h" #include "conditional/if.h" namespace tav { namespace detail { template < template class Predicate, typename Current > struct Find { typedef If< Eval>>, Head, Eval>> > type; }; template < template class Predicate > struct Find { typedef Boolean type; }; } template < template class Predicate, typename List > using Find = Eval>; } #endif // TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FIND_H_