From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-12 22:27:17
----- Original Message -----
From: "Chuck Allison" <cda_at_[hidden]>
Sent: Wednesday, June 12, 2002 7:16 PM
Subject: Re: [boost] Dynamic Bitset Formal Review June 8-17
> > However if dyn_bitset is not meant to be a migration path from
> > vector<bool> I think the argument is moot.
> > I'm guessing that C++0X will entertain the idea of deprecating
> > vector<bool>. I'm also guessing that said movement will be more likely
> > to be successful if there is also a proposed bitvector for vector<bool>
> > clients to migrate to. dyn_bitset does not have to be that class
> I think this is a good argument in favor of dyn_bitset, and for providing
> iterators. I haven't looked at it closely, but can we provide an iterator
> for dyn_bitset that meets all the requirements for STL iterators?
Actually you can. There are two ways:
1. the iterator is an input iterator but not a forward iterator
2. The iterator is a random access iterator that internally stores a copy
of the bool lvalue you would get by dereferencing it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk