On Thursday, 7 July 2016 at 03:52:40 UTC, Jonathan M Davis wrote:
However, it looks like you can combine those two types of variadic functions to get more or less what you want (albeit more verbosely). e.g.template isInt(T) { enum isInt = is(std.traits.Unqual!T == int); }void test(Args...)(Args args) if(args.length > 0 && std.meta.allSatisfy!(isInt, Args)) { test2(args); }
Exactly what I was looking for. Thanks!