https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192303
Dimitry Andric <d...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |In Discussion CC| |d...@freebsd.org --- Comment #4 from Dimitry Andric <d...@freebsd.org> --- The proposed fix is not correct: when calling erase(i, j), the erased range is up to, but *not* including j. Therefore, j must be incremented before calling erase(), and this will also fix the return value put in i. This issue also applies to std::list<>::remove(). I have posted an updated patch to the upstream bug here: http://llvm.org/PR20520 . If it is accepted upstream, I will commit it into our version of libc++, and MFC it in 3 days. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-toolchain@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"