I want to create a function that takes a variadic number of arguments all of a specific type, say T, without having to create GC-allocated heap array.

Is there a better way than:

f(Args...)(Args args)
    if (allSameType!(Args, T);

in terms of template bloat?

Reply via email to