#ifndef TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_QUERY_H_ #define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_QUERY_H_ #include "fold.h" #include "map.h" #include "operation/math.h" #include "operation/logic.h" namespace tav { template < template class Predicate, typename List > using Any = Fold< Or, Boolean, Map >; template < template class Predicate, typename List > using Every = Fold< And, Boolean, Map >; template < template class Predicate, typename List > using None = Not>; template < template class Predicate, typename List > using Count = Fold< Add, Size<0>, Map >; } #endif // TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_QUERY_H_