This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Implementing clean and simple move symantics
Chris Jefferson wrote:
...
Hmm.. I'll have to think about this a bit. In actual fact, I think all
of the standard containers look like they can be moved by memmove,
I'm not sure about your implementation but ours stores the allocator
object in the container and in the rare case when the allocator has
non-trivial state the container may not be movable. But I haven't
been following this whole thread and you may have already discussed
this case and dealt with it. In that case, sorry about butting in :)
Martin