$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-06-11 11:51:39
On Mon, 10 Jun 2002, Chuck Allison wrote:
cda>
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>
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.
Cheers,
Jeremy
----------------------------------------------------------------------
Jeremy Siek http://php.indiana.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------