#ifndef TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FILTER_H_ #define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FILTER_H_ #include "fold.h" #include "conditional/if.h" namespace tav { template < template class Predicate, typename List > class Filter { private: template < typename Current, typename Previous > using predicate_wrapper = If< Eval>, Eval>, Previous >; public: typedef Eval> type; }; template < template class Predicate, typename List > class Remove { private: template using predicate_negator = Not>; public: typedef Eval> type; }; } #endif // TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_FILTER_H_