This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: An suggested extension
> The problem: vectors (and deques) are often confronted with the problem of
> moving (possibly large) amounts of their contained data. The default
> behavior is to copy the data and then destroy the old data. This is
> inefficient if the data type contained can be shallow-copied and then have
> its destructor call skipped (!)
Why can't you just use vectors of pointers?
Regards,
Martin