
19 Sep
2008
19 Sep
'08
5:45 p.m.
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