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]

forward list patch


Hi

While working on debug mode contention issue I discovered some bugs that I prefer to submit first. Here is a first patch for the forward_list. It fixes the move constructor that was missing the move of safe iterators and introduce a special _M_swap implementation that do not swap the before begin iterator that cannot move from a forward_list instance to an other.

Regards

Attachment: ChangeLog.entry
Description: Text document

Attachment: forward_list.patch
Description: Text document


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