The review of std.hash package
Jonathan M Davis
jmdavisProg at gmx.com
Wed Aug 8 11:36:32 PDT 2012
On Wednesday, August 08, 2012 18:12:23 Johannes Pfau wrote:
> Am Wed, 08 Aug 2012 11:27:49 +0200
>
> schrieb Piotr Szturmaj <bncrbme at jadamspam.pl>:
> > > BTW: How does it work in CTFE? Don't you have to do endianness
> > > conversions at some time? According to Don that's not really
> > > supported.
> >
> > std.bitmanip.swapEndian() works for me
>
> Great! I always tried the *endianToNative and nativeTo*Endian functions.
> So I didn't expect swapEndian to work.
What's wrong with the *endianToNative and nativeTo*Endian functions? They work
just fine as far as I know. swapEndian works too if you want it to use that, but
there should be nothing wrong with the endian-specific ones.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list