The review of std.hash package

Johannes Pfau nospam at example.com
Wed Aug 8 11:55:19 PDT 2012


Am Wed, 08 Aug 2012 14:36:32 -0400
schrieb "Jonathan M Davis" <jmdavisProg at gmx.com>:

> 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

in CTFE?
http://dpaste.dzfl.pl/0503b8af

According to Don reinterpret casts (even if done through unions) won't
be supported in CTFE. So you can't convert from uint-->ubyte[4]


More information about the Digitalmars-d mailing list