aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/higher/remove.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/operation/higher/remove.h')
-rw-r--r--src/list/operation/higher/remove.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/list/operation/higher/remove.h b/src/list/operation/higher/remove.h
index 598f5a6..6770359 100644
--- a/src/list/operation/higher/remove.h
+++ b/src/list/operation/higher/remove.h
@@ -2,25 +2,16 @@
#define TYPEASVALUE_SRC_LIST_OPERATION_HIGHER_REMOVE_H_
#include "filter.h"
+#include "utility/predicate.h"
namespace tav {
-namespace detail {
-
-template <template<typename> class Predicate>
-struct predicate_negator {
- template <typename Element>
- using function = Not<Predicate<Element>>;
-};
-
-}
-
template <
template<typename> class Predicate,
typename List
>
using Remove = Filter<
- detail::predicate_negator<Predicate>::template function,
+ utility::predicate_negator<Predicate>::template function,
List
>;