Boy, std.bitmanip.bigEndianToNative is annoying to use

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat May 23 02:54:35 PDT 2015


On Friday, 22 May 2015 at 21:03:43 UTC, Jonathan M Davis wrote:
> On Friday, 22 May 2015 at 20:21:59 UTC, Kagamin wrote:
>> Hmm, now that I look at it, the declaration of 
>> bigEndianToNative is weird: http://dpaste.dzfl.pl/6fad7c9ef22d
>
> What's weird about it?

Why it has a separate n parameter? It makes no sense. If it was 
like in the paste, it would give proper error message.


More information about the Digitalmars-d mailing list