Variadic template parameter (for mixin) does not work

Victor Porton porton at narod.ru
Mon Feb 25 20:23:10 UTC 2019


I want to create a mixin with an arbitrary number of parameters.

I tried this:

mixin template ProviderParams(Types...)(Types t) {
}

But it does not compile. What's my error?


More information about the Digitalmars-d-learn mailing list