On Fri, 11 Mar 2011 16:42:59 -0500, Stewart Gordon <smjg_1...@yahoo.com> wrote:

On 11/03/2011 19:50, Ali Çehreli wrote:
<snip>
There is also std.intrinsic.bswap

Well spotted.  I don't tend to look at std.intrinsic much.

Presumably there's a reason that it's been provided for uint but not ushort or ulong....

I think things in std.intrinsic are functions that tie directly to CPU features, so presumably, the CPU only provides the possibility for 4-byte width.

-Steve

Reply via email to