[Issue 4430] Regression(2.037) erroneous matching on specialized template function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 1 00:19:22 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4430
--- Comment #3 from Don <clugdbug at yahoo.com.au> 2010-09-01 00:19:06 PDT ---
Even further reduced, shows that a class template is not required.
---
struct Ghost {}
void bug4430(T)(int x) {}
void bug4430(T)(Ghost x) {}
void spirit4430()
{
bug4430!(char)( 777 );
}
----
bad.d(53): Error: template instance bug4430!(char) matches more than one
templat
e declaration, bad.d(48):bug4430(T) and bad.d(49):bug4430(T)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list