[Issue 337] Function templates cannot be overloaded

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 1 15:53:55 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=337


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec
                 CC|                            |smjg at iname.com
            Summary|Function Templates cannot   |Function templates cannot
                   |be overloaded               |be overloaded
           Severity|major                       |enhancement


--- Comment #6 from Stewart Gordon <smjg at iname.com> 2012-01-01 15:53:53 PST ---
I agree with the analysis - two templates can't have the same signature.  So it
would be a matter of changing the language to allow it if they can be
instantiated in a way that disambiguates them.

-- 
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