https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192303
Dimitry Andric <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |In Discussion CC| |[email protected] --- Comment #4 from Dimitry Andric <[email protected]> --- 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. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
