
24 Jan
2013
24 Jan
'13
4:26 p.m.
On Jan 22, 2013, at 10:27 PM, Andrey Semashev <andrey.semashev@gmail.com> wrote:
Also, std::remove looks similar to gather when the gathered elements are put to the end of the sequence.
it does look similar but.. std::remove does not have the requirement to preserve all the entries in the sequence. std::remove can leave the "removed" entries in an unknown state (overwritten? moved from? copied?) Otherwise you could just write std::remove as std::stable_partition ;-) -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki