On 2013-06-05, 00:33, Dylan Knutson wrote:

Hello!
As far as I can tell, you can't have a variadic of alias parameters on a template, which is strange to me. Eg, you can't do something like:

template Foo(alias Args...) {
  ...
}

int i = 0;
Foo!(std.conv, "123", i);

Is there a reason for this restriction?

Try without the alias - variadic template parameters may be aliases or
types or any mix thereof.

Also, please ask such questions in digitalmars.D.learn in the future.

--
Simen

Reply via email to