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

--- Comment #0 from Simen Kjaeraas <> 2011-02-04 14:22:21 
PST ---

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:
------- You are receiving this mail because: -------

Reply via email to