Subject: Re: [boost] [endian] Some suggestions
From: AsbjÃ¸rn (lordcrc_at_[hidden])
Date: 2016-04-12 10:55:41
On 12.04.2016 16:12, Thijs van den Berg wrote:
> The way I see it is that the endian library is about the the byte order
> inside a word and not about the layout/represenation of integers and float
> into that word?
FWIW, as a library user that's what I'd expect when reading the name
"Boost.Endian". Anything more and it's serialization in my view.
For floats I'd expect it to treat float as it treats uint32, that is effectively
convenience functions for memcpy-ing to/from an uint32 and doing the endian
operations on the uint32.
Just my 2 øre.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk