Boost logo

Boost :

Subject: Re: [boost] [endian] comments
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-09-05 19:46:38


On Mon, Sep 5, 2011 at 5:00 PM, Gordon Woodhull <gordon_at_[hidden]> wrote:
> Hi Beman, all,
>
> Couple of comments after scanning the documentation.
>
> It does look like a solid library but the Hello World example in the documentation appears to be out of synch with the code, and with Boost.  None of its includes are correct (except iostream).  It looks like the operator<= overloading (?) is intended to invoke some binary stream functionality which isn't yet in Boost.  Unfortunately I wasn't able to get it to compile because I couldn't find <boost/binary_stream.hpp> anywhere.  There appears to be some related detail::binary_data stuff in endian/boost/io/detail/bin_manip.hpp but I couldn't figure out how to connect it.

Grrr! That program no longer part of the library, and I failed to
replace it in the docs!

I'll update the docs right away.

>
> An unrelated comment: on the "conversion functions" page of the documentation, there are some references to "indicated byte ordering" - which confuses me because I don't see where the byte ordering is indicated.  Does this mean the ordering which Endian uses internally?

Probably should say "byte order indicated by the function name" or
something similar. And maybe give and example. I'll update that too.

Thanks!

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk