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

           Summary: Eponymous templates should allow for overloaded
                    eponymous members
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: simen.kja...@gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2011-02-04 14:22:21 
PST ---
Given:

template foo( T ) {
    T foo( T t ) {
        return t;
    }
    T foo( T t, T u ) {
        return t + u;
    }
}

This should not cause problems. Basically, if a template contains an eponymous
overload set, the overload set should be considered its only member.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to