Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-10-27 13:34:36


"Jason Hise" <0xchaos_at_[hidden]> writes:

> For instance, random access containers (vector and deque) would
> probably need iterators that stored an integer index and a pointer to
> the container, because push_back would be likely to result in memory
> reallocations.

push_back on deque does not invalidate any iterators.

-- 
Dave Abrahams
Boost Consulting
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