Am Wed, 08 Aug 2012 14:36:32 -0400
schrieb "Jonathan M Davis" <[email protected]>:

> 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]

Reply via email to