Closed GoogleCodeExporter closed 9 years ago
No, we should abide by C++0x:
template <class InputIterator, class OutputIterator1,
class OutputIterator2, class Predicate>
pair<OutputIterator1, OutputIterator2>
partition_copy(InputIterator first, InputIterator last,
OutputIterator1 out_true, OutputIterator2 out_false,
Predicate pred);
Should be cheap for users to precompute the size of both out_true & out_false
compared to the cost of partition_copy.
There actually isn't a stable_partition_copy in the STL -- no compelling reason
to add one right now.
Original comment by jaredhoberock
on 17 Jun 2010 at 5:09
We should recommend stable_partition_copy exist in the standard and provide it
as well.
Original comment by jaredhoberock
on 8 Sep 2010 at 1:19
This issue was closed by revision 2ef46b6741.
Original comment by jaredhoberock
on 8 Sep 2010 at 1:29
Original issue reported on code.google.com by
wnbell
on 17 Jun 2010 at 4:37