Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-06-03 08:05:41

Beman Dawes wrote:
> Back in 1999 and 2000, there was discussion of a Boost Endian library to
> provided portable big and little endian integer types. I've dusted off
> some old code from Darin Adler, gotten his permission to use the new
> Boost license, and have put together a library.
> A zip file of the whole library is available at
> The docs can be read at
> Comments welcome!

This is more a couple of questions that comments.

1. have I misunderstood aligmnet completely when I thought that a single
data member was not guaranteed to be aligned, but an array ways?
(your aligned types use a data member, your unaligned use a char array).

2. why is a char array used, and not, say, a T[1] array?


Boost list run by bdawes at, gregod at, cpdaniel at, john at