Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2008-06-27 16:09:33

Daryle Walker wrote:
> My class contains an array of bits, currently expressed as
> boost::array<bool, 512>. Will archives compact representations to
> multiple bits per serialized atom, or will they potentially waste a lot
> of space?

The latter. I think you may want std::bitset<512>.

Dave Abrahams
BoostPro Computing

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at