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/function/detail/apply.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/function/detail') diff --git a/src/function/detail/apply.h b/src/function/detail/apply.h index b4b70bf..da347f7 100644 --- a/src/function/detail/apply.h +++ b/src/function/detail/apply.h @@ -33,13 +33,13 @@ template < int Index > struct resolve_placeholder> { - typedef typename Nth, Partials>::type type; + typedef Eval, Partials>> type; }; template using count_placeholders = Count< is_placeholder, - typename List::type + Eval> >; template < @@ -57,10 +57,10 @@ template < struct apply_variadic { template using function = Function< - typename resolve_placeholder< - typename tav::List::type, + Eval>, Arguments - >::type... + >>... >; }; -- cgit v1.2.3