From e24f25ada7e8f48dc35cb235e045a4324bccb4f2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 14 Feb 2015 10:43:49 +0100 Subject: Introduced `Eval` function evaluation helper * replaces `typename *::type` constructs with `Eval` applications * aims to further unify function evaluation --- src/list/operation/basic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/list/operation/basic.h') diff --git a/src/list/operation/basic.h b/src/list/operation/basic.h index b4aa35a..5f9a3f9 100644 --- a/src/list/operation/basic.h +++ b/src/list/operation/basic.h @@ -13,11 +13,11 @@ class Length { using accumulate = Add, Accumulated>; public: - typedef typename Fold< + typedef Eval, Cons - >::type type; + >> type; }; -- cgit v1.2.3