(non-)extern(C) function parameter vs templates
"Luís
"Luís
Tue Sep 17 06:59:03 PDT 2013
On Tuesday, 17 September 2013 at 13:50:20 UTC, John Colvin wrote:
> It used to be that templates and normal functions couldn't
> overload each other, now they can. I'm not sure when the change
> was made, it might only be in git master.
Ah, OK! I said nevermind because the following works (on 2.063.2):
void foo(T)(F f) { }
void foo(T)(E e) { }
So I guess it's more subtle than that. Thanks!
More information about the Digitalmars-d
mailing list