template/non-template method name conflict
Nathan Reed
nathaniel.reed at gmail.com
Mon Sep 17 12:47:07 PDT 2007
Frits van Bommel wrote:
> No, that doesn't work because the first declares a function and the
> other declares a template (that happens to contain a function). You
> can't overload functions and templates.
Also, note that in D 2.0 overloading functions with templates will work
(not implemented yet, but planned).
Thanks,
Nathan Reed
More information about the Digitalmars-d-learn
mailing list