Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-05-11 14:38:30


From another programmer friend of mine.
  -gary-

> -----Original Message-----
> From: Jim Edwards [SMTP:tavison_at_[hidden]]
> Sent: Friday, May 11, 2001 11:31 AM
> To: Gary Powell
> Subject: Re: FW: [boost] Challenge: bit_vector/bit_string
>
> Yeah, we are using vector<bool> in a change tracking
> system. The idea is that it is smaller to store a bool
> than to store a null valued piece of data. Also, null
> values are not always available, as in an int. We push
> valid data onto stacks and set the bool for that to
> true. For the other slots we set the bool to false.
> This way only data that is in fact changed is packed
> up and stored. The bools give us the unraveling code.
>
> --- Gary Powell <Gary.Powell_at_[hidden]> wrote:
> > Aren't you using vector<bool> in actual code? I
> > don't have any at the
> > moment.
> > -gary-
> >
> >
>


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