Boost logo

Boost :

From: vincent_finn_at_[hidden]
Date: 2002-06-14 04:27:59


        At 09:23 AM 6/13/2002 +1000, Matthew Wilson wrote:

>It seems like a good idea to just remove it from the
        next version of
        the
>standard if there are no significant (or vocal) users
        of it

        I know vector<bool> doesn't adhere to the canonical
        container interface and I've read Scott Meyer's
        critique of it in _Effective STL_, but I for one would
        like to see it stay. I believe there is a need for a
        space efficient, variably sized array of bit flags.

        Phil Garofalo
        Chicago, IL

There may not be an alternative at the moment but
would it not be possible to do a policy based (Modern C++ Design style)
version of vector<bool> to allow for both the strict adherence to the container
interface (by default) and the space efficient version ?

Just a thought !


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