Subject: Re: [boost] [endian] Project not maintained
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-04-05 20:12:09
On 6/04/2016 01:44, Peter Dimov wrote:
> Gavin Lambert wrote:
>> Ultimately though it's all just specifying a
>> host-architecture-independent storage format (bit layout) for a given
> It is, but my main point was that if you have an "endianness" library
> that gives you
> void write_ieee32le( float x, unsigned char * p );
> this interface does not change when x is not IEEE 32 bit float.
> So while it's indeed true that the library no longer does endianness
> conversion, making another library that is not called "Endian" but has
> the exact same interface and works in the exact same way as the first
> one when x is IEEE 32 bit float would be mighty silly.
Yes, I was trying to make the exact same point as well. Perhaps I
worded it badly.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk