[Issue 4028] delegates with differing default arguments lead to same template instantiation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 7 23:56:58 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4028
--- Comment #4 from Don <clugdbug at yahoo.com.au> 2010-04-07 23:56:51 PDT ---
The two delegates *are* the same type, so they are supposed to lead to the same
template instantiation. Introducing a default parameter does not create a new
type.
I'm not sure why function pointers with default parameters are accepted at all.
I think it should be an error.
--
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