Boy, std.bitmanip.bigEndianToNative is annoying to use

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Sat May 23 07:30:48 PDT 2015


On Sat, May 23, 2015 at 09:54:35AM +0000, Kagamin via Digitalmars-d wrote:
> 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.

Submit a PR?


T

-- 
MAS = Mana Ada Sistem?


More information about the Digitalmars-d mailing list