Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-06-11 11:51:39

On Mon, 10 Jun 2002, Chuck Allison wrote:
cda> But isn't it still an issue that you can't fulfill all of the
cda> iterator requirements because a bit is not addressable? In other
cda> words, iterators must allow:
cda> T* p = &*v.begin();

Yes, that is an issue. Thus a bit iterator can't model the Forward
Iterator concept.

cda> Can we do this with dyn_bitset?

I don't know of a way.

With my new iterator categories, the bit iterator could be better
categorized as a read and write iterator (but not lvalue) and it would
have random access traversal.


 Jeremy Siek
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster ( office phone: (812) 855-3608

Boost list run by bdawes at, gregod at, cpdaniel at, john at