This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]