s/type tuple/template pack/g please
Dicebot
public at dicebot.lv
Thu Aug 22 08:03:25 PDT 2013
On Thursday, 22 August 2013 at 15:01:23 UTC, Meta wrote:
> One question, wasn't the fact that "template Test(T...)" can
> accept literals as well as types originally a bug? Or am I
> thinking of "template Test(alias T)"?
Well it is necessity that comes from the fact that it denotes
"variadic template argument list". If this is legal (and it is):
template Test(int N, T) { }
than variadic list must accept both too.
More information about the Digitalmars-d
mailing list