[Issue 599] ExpressionTuple doesn't match template's alias parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 30 09:58:35 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=599
------- Comment #4 from shro8822 at vandals.uidaho.edu 2008-06-30 11:58 -------
If you need to allow someone to do this for your template, try this:
struct Tpack(T...)
{
static alias T Tpl;
}
test2!(Tpack!(T))
template test2(alias s){
alias s.Tpl[0] test2;
}
(Or some variate of that, I didn't test this but have made the trick work
before)
--
More information about the Digitalmars-d-bugs
mailing list