[Issue 12386] Allow using derivatives of IFTI'd types in remaining arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 17 00:07:05 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12386



--- Comment #2 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-03-17 09:06:58 EET ---
The above workaround doesn't work for certain cases:

alias X(T) = T;

void f(T, U)(T a, U b) if(is(U : X!T)) { }

void main()
{
    ubyte b = 5;
    f(b, 5);
}

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


More information about the Digitalmars-d-bugs mailing list