Multiple template variadic list not working

bastien penavayre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 21 08:13:55 PDT 2017


I've been trying to translate the following idea expressed here 
in c++:

template <auto... UserArgs, class... Arguments>
void func(Arguments... args) {}

so I tried

void func(UserArgs..., Arguments...)(Arguments args) {}

and then

void func(Args...)(Filter!(isType, Args) args) {}

but nothing works.
This seems like something simple to handle, why is it not then ?


More information about the Digitalmars-d-learn mailing list