It's not ok to compare after assignment, it should be comare first and then assignment.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
If you start playing with move_iterators, I suspect you'll find several of the algorithms don't work quite right.
This looks good to me.
Comment Actions
In general, you should add cfe-commits as a subscriber to any libc++ patch you propose.