Boost logo

Boost :

Subject: Re: [boost] request for interest: stable vector
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2008-09-19 13:45:55


Thorsten Ottosen <thorsten.ottosen <at> dezide.com> writes:

>
> Giovanni Piero Deretta skrev:
[...]
> > Or better, on top of ptr_vector. Export would return an auto_ptr.
>
> I'm not certain this is possible if you also want iterator stability in
> addition to reference stability for middle insertions. But I guess it is
> a good question if iterator stability is important enough to have.

I'm not sure I'm getting this: what does export has to do
with stability? Once you've exported a node, that node is no
longer part of the container, so stability issues seem not
to apply.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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