|
Boost : |
From: John E. Potter (jpotter_at_[hidden])
Date: 2001-01-09 16:29:12
On Tue, 9 Jan 2001, Dave Abrahams wrote:
> I just went through the SGI STL site looking for an algorithm fitting
> the following description:
>
> Given a sequence s, a predicate p, and an output iterator r,
> copies the elements e of s for which p(e) is true to the range
> beginning with r.
remove_copy_if(b, e, r, notP);
Make a copy of what is left after removing the things for which
notP is true.
Intuitively obvious to the most casual observer ;-)
John
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk