On 11/03/2011 19:50, Ali Çehreli wrote: <snip>There is also std.intrinsic.bswapWell 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