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/generator/make_list.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/list/generator/make_list.h') diff --git a/src/list/generator/make_list.h b/src/list/generator/make_list.h index 33419cb..d927905 100644 --- a/src/list/generator/make_list.h +++ b/src/list/generator/make_list.h @@ -11,18 +11,18 @@ template < typename Element > struct MakeList { - typedef typename Cons< + typedef Eval>, Element - >::type - >::type type; + >> + >> type; }; template struct MakeList, Element> { - typedef typename Cons::type type; + typedef Eval> type; }; } -- cgit v1.2.3