[Issue 337] Function Templates cannot be overloaded

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 13 02:10:34 PDT 2008


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





------- Comment #5 from bugzilla at digitalmars.com  2008-06-13 04:10 -------
//----
void testfunc(Tx : int, Ta)(Tx x, Ta a)
{
    writefln("x = %d, a = %s", x, a);
}
//----

works with current versions of both D1.0 and D2.0.


-- 



More information about the Digitalmars-d-bugs mailing list