From 324988569183e38e9c5e42318571693a6fcd9569 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 16 Feb 2015 14:03:53 +0100 Subject: Simplified `List`, `Length` and `Reverse` implementations * continuation of 8e49cc6 * list constructor was generalized to a _variadic fold_ --- src/function/detail/apply.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/function') diff --git a/src/function/detail/apply.h b/src/function/detail/apply.h index 8d4ef6d..3df80ef 100644 --- a/src/function/detail/apply.h +++ b/src/function/detail/apply.h @@ -37,10 +37,7 @@ struct resolve_placeholder> { }; template -using count_placeholders = Count< - is_placeholder, - tav::List ->; +using count_placeholders = Count>; template < template class Function, @@ -58,7 +55,7 @@ struct apply_variadic { template using function = Function< Eval, + List, Arguments >>... >; -- cgit v1.2.3