[Issue 415] conflicting template functions overloads

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 16 07:21:57 PDT 2006


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





------- Comment #4 from brunodomedeiros+bugz at gmail.com  2006-10-16 09:21 -------
If I may, a more illustrative case:

--------
void func(int a) { 
}

void tfunc()(int a) { 
}

void test() {   
  func(cast(uint) 2);  // OK
  tfunc!()(cast(uint) 2);  // OK
  tfunc(cast(uint) 2); // IFTI breakage
}


-- 




More information about the Digitalmars-d-bugs mailing list