12 Apr
2016
12 Apr
'16
2:55 p.m.
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. Cheers - Asbjørn