← Back to index
|
Original Bugzilla link
Bug 10314 – Add std.traits.signed
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-09T02:13:00Z
Last change time
2013-07-04T01:38:03Z
Keywords
pull
Assigned to
nobody
Creator
issues.dlang
Comments
Comment #0
by issues.dlang — 2013-06-09T02:13:49Z
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.
Comment #1
by issues.dlang — 2013-06-09T02:17:56Z
https://github.com/D-Programming-Language/phobos/pull/1341
Comment #2
by github-bugzilla — 2013-07-04T01:37:13Z
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).