From 7ce93ff513a993b8b46fbb401b232d6f557b948b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 26 Jan 2015 18:54:59 +0100 Subject: Added pair and triple aliae for the variadic `Apply` type --- src/function/apply.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/function/apply.h b/src/function/apply.h index d353169..6012a01 100644 --- a/src/function/apply.h +++ b/src/function/apply.h @@ -48,15 +48,21 @@ struct Apply { typedef typename tav::List::type argument_list; template - using type = Function< + using variadic_type = Function< typename detail::resolve_placeholder< typename tav::List::type, Arguments >::type... >; - template - using single_type = type; + template + using single_type = variadic_type; + + template + using pair_type = variadic_type; + + template + using triple_type = variadic_type; }; } -- cgit v1.2.3