aboutsummaryrefslogtreecommitdiff
path: root/src/list/operation/higher/partition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list/operation/higher/partition.h')
-rw-r--r--src/list/operation/higher/partition.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/list/operation/higher/partition.h b/src/list/operation/higher/partition.h
index e42b971..a0ea379 100644
--- a/src/list/operation/higher/partition.h
+++ b/src/list/operation/higher/partition.h
@@ -9,12 +9,10 @@ template <
template<typename> class Predicate,
typename List
>
-struct Partition {
- typedef Cons<
- typename Filter<Predicate, List>::type,
- typename Remove<Predicate, List>::type
- > type;
-};
+using Partition = Cons<
+ typename Filter<Predicate, List>::type,
+ typename Remove<Predicate, List>::type
+>;
}