On 8/7/12, Philippe Sigaud <philippe.sig...@gmail.com> wrote: > You can also take the 'dual' of your solution and have a template that > makes a function automatically expand tuples
But that doesn't work for variadic templates, which is the OP's case: int foo(T...)(T t) { return 1; } alias expander!foo efoo; // error