Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-12 11:31:18


"Bohdan" <warever_at_[hidden]> writes:

> 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 doubt it. If your vector resizes, all iterators pointers and
references are invalidated (unless space was already reserved?)
anyway.

-- 
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

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