[Issue 2626] template function not working against template struct instantiated with default arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 28 02:11:20 PST 2009


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





------- Comment #1 from bugzilla at digitalmars.com  2009-02-28 04:11 -------
Here's a simpler version, but fixing it isn't:

struct S(int x = 1){}

void fun()(S!(1) b) { }

void main()
{
    S!() s;
    fun(s);
}


-- 



More information about the Digitalmars-d-bugs mailing list