[Issue 1525] Can't instantiate template with bogus error messages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 29 06:00:14 PDT 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #2 from smjg at iname.com  2007-10-29 08:00 -------
INVALID I think but....

template k(U:V[C], V, C)
{
    void func(U a, C v){writefln("hello");};
}

works, and can be instantiated as k!(int[int]).


-- 



More information about the Digitalmars-d-bugs mailing list