www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12001] New: __traits(isSame, int, int) is false


           Summary: __traits(isSame, int, int) is false
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: peter.alexander.au gmail.com

--- Comment #0 from Peter Alexander <peter.alexander.au gmail.com> 2014-01-26
04:29:27 PST ---
What the title says: __traits(isSame, int, int) is false. It is false for any
built-in types, not just int.

It really should be true if isSame is to be useful in generic code.

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