From 46e174935b122c0da4b51532a7f683a512eeaf65 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 15 Feb 2015 14:07:50 +0100 Subject: Moved class-based implementations into `detail` namespace * while class templates enable e.g. hiding implementation details they also require evaluation via `Eval` ** this clutters up the actual logic and is now hidden behind aliae that perform the evaluation --- src/list/operation/higher/query.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/list/operation/higher/query.h') diff --git a/src/list/operation/higher/query.h b/src/list/operation/higher/query.h index 1d00267..c6c73f4 100644 --- a/src/list/operation/higher/query.h +++ b/src/list/operation/higher/query.h @@ -15,7 +15,7 @@ template < using Any = Fold< Or, Boolean, - Eval> + Map >; template < @@ -25,16 +25,14 @@ template < using All = Fold< And, Boolean, - Eval> + Map >; template < template class Predicate, typename List > -using None = Not< - Eval> ->; +using None = Not>; template < template class Predicate, @@ -42,8 +40,8 @@ template < > using Count = Fold< Add, - tav::Size<0>, - Eval> + Size<0>, + Map >; } -- cgit v1.2.3