Boost logo

Boost :

From: Lois Goldthwaite (loisg_at_[hidden])
Date: 2001-03-18 05:47:36


If the table doesn't need to grow in use, what about
std::bitset<size_t>? If it does need to grow, then std::vector<bool> is
intended to serve this purpose, though some people have reservations
about vector<bool>. However, so long as the table is small enough to fit
into cache, it's probably quite acceptable for this problem.

Lois

   Message: 8
   Date: Sat, 17 Mar 2001 20:05:38 -0000
   From: pinkfloydhomer_at_[hidden]
Subject: Re: Compact Data

--- In boost_at_y..., pinkfloydhomer_at_y... wrote:
> I may be asking a stupid question here, and it might even be off
> topic (it's becoming a bad habit), but here goes:
>
> Is there currently in standard C++ a structured way to represent
data
> compactly, other than the old C bitfields?
>

Not to be rude, but isn't anybody but me interested in this?


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