Thread overview
[Issue 10314] New: Add std.traits.signed
Jun 09, 2013
Jonathan M Davis
Jun 09, 2013
Jonathan M Davis
Jul 04, 2013
Kenji Hara
June 09, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10314

           Summary: Add std.traits.signed
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: jmdavisProg@gmx.com


--- Comment #0 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-06-09 02:13:49 PDT ---
We have std.traits.signed which casts an integral value to the signed type of the same size, but for some reason we do not have std.traits.signed which does the same thing in the other direction. We should add it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 09, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10314


Jonathan M Davis <jmdavisProg@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2013-06-09 02:17:56 PDT ---
https://github.com/D-Programming-Language/phobos/pull/1341

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10314



--- Comment #2 from github-bugzilla@puremagic.com 2013-07-04 01:37:13 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/378fe783523259849beebcc7553c0a9654d0c4f9 Implement issue# 10314.

This moves std.traits.unsigned to std.conv and adds std.conv.signed, since for some reason, we have std.traits.unsigned but do not have std.traits.signed.

https://github.com/D-Programming-Language/phobos/commit/1b230c39c516e762a18a3a88748c52d4bfdc907a Merge pull request #1341 from jmdavis/signed

Implement issue# 10314 (add std.traits.signed).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10314


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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