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
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net