Boost logo

Boost :

From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2002-10-12 11:47:29

Bohdan wrote:

> filter_iterator_policies contains m_end member as private, but if value of m_end
> changes ( ex: vector::resize ) m_end should be changed accordingly. At this time
> the only solution is to recreate policies instance when m_end was changed.
> Should m_end be public ?

I might be missing something, but I though a vector 'invalidated' all
iterators when it resized anyway?
I'm still exporing the iterator adpators myself, and don't doubt there
is merit in what you seek. I'm not sold on the given example though.

Team Thai Kingdom

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