[Issue 876] New: std.intrinsic.bswap overloads
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 22 23:00:28 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=876
Summary: std.intrinsic.bswap overloads
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: tomas at famolsen.dk
It would be nice with overloads for std.intrinsic.bswap for other types than
uint.
Ideally there should be functions for all basic (numeric only?) types >= 2
bytes.
That being said I could live with ushort,uint and ulong.
right now I have to do (x>>8 | x<<8) to bswap a ushort for example. with a
ulong it gets much more complicated.
--
More information about the Digitalmars-d-bugs
mailing list