[Issue 1503] Type aliases and tuples of template instances

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 21 01:27:06 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=1503



--- Comment #2 from Max Samukha <samukha at voliacable.com> 2009-10-21 01:27:05 PDT ---
An extra alias can be added to stop the gap:

template Foo(T)
{
    alias T Type;
}

template Foos(A...)
{
    alias A Foos;
}

alias Foos!(Foo!(int), Foo!(char)) foos;
alias foos[0] foo;
foo.Type x = 20;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list