[Issue 798] New: Template function overloading problems

Marcin Kuszczak aarti at interia.pl
Sat Jan 6 08:25:23 PST 2007


Sean Kelly wrote:

> Template functions cannot be overloaded with normal functions.  This is
> by design.

Maybe it should be reported as enhancement? It's quite unnatural thing...

Additionally I was thinking that maybe all functions should be mangled with
return type... In such a situation it would be possible to overload
functions by return type and overloading template functions with normal
functions would be no more problem... 

PS. If I am wrong about some of these issues just tell me. I am not trying
to play expert here - just reporting some awkward (IMHO) behaviour of
compiler....

-- 
Regards
Marcin Kuszczak (Aarti_pl)
-------------------------------------
Ask me why I believe in Jesus - http://zapytaj.dlajezusa.pl (en/pl)
Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/
-------------------------------------



More information about the Digitalmars-d-bugs mailing list