can't use variadic template arg in dependent type

Larry Evans cppljevans at cos-internet.com
Mon Jan 8 14:06:25 PST 2007


The code in 1st attachment compiles with output in 2nd attachment.
Is this a bug?  It seems that a sysmbol representing a variadic
temmplate arg can't be used to form a dependent type (IOW, Targs
can't be used to form A!(Targs) ).  This is in contrast to
how non-variadic symbols are treated :(




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: variadic_dep_type.d
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20070108/55a1580c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: variadic_dep-d.compilation
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20070108/55a1580c/attachment-0001.ksh>


More information about the Digitalmars-d mailing list