[Issue 415] conflicting template functions overloads
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 9 18:30:58 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=415
------- Comment #3 from davidl at 126.com 2006-10-09 20:30 -------
umm, i think i should state that more clear, i guess the problem is dmd not
doing enough distinguish check when the template in this collapsed form.
actually if i write
template arraycopy(T)
{
arraycopy(T[] a, T[] b, int length)
arraycopy(T[] a, T[] b, uint length)
}
is ok
but the main func in ur example need to modified, so that's not a good idea.
--
More information about the Digitalmars-d-bugs
mailing list