From 73680466149c7aad21de558b7acc11dfa05183d2 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 13 Feb 2015 21:54:48 +0100 Subject: Renamed `Apply`'s template alias to `function` * `type` is used to represent evaluation of a template * accessing the `function` doesn't evaluate it as it is the template itself --- src/function/detail/apply.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/function/detail/apply.h') diff --git a/src/function/detail/apply.h b/src/function/detail/apply.h index d9f058a..b4b70bf 100644 --- a/src/function/detail/apply.h +++ b/src/function/detail/apply.h @@ -47,7 +47,7 @@ template < typename... Arguments > struct apply_none { - using type = Function; + using function = Function; }; template < @@ -56,7 +56,7 @@ template < > struct apply_variadic { template - using type = Function< + using function = Function< typename resolve_placeholder< typename tav::List::type, Arguments @@ -70,10 +70,10 @@ template < > struct apply_single : apply_variadic { template - using type = typename apply_variadic< + using function = typename apply_variadic< Function, Arguments... - >::template type; + >::template function; }; template < @@ -82,10 +82,10 @@ template < > struct apply_pair : apply_variadic { template - using type = typename apply_variadic< + using function = typename apply_variadic< Function, Arguments... - >::template type; + >::template function; }; } -- cgit v1.2.3