$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-01-09 17:04:40
From: "Dave Abrahams" <abrahams_at_[hidden]>
> 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.
>
> I was surprised not to find it. Have I missed something obvious?
No, AFAIK. remove_copy_if is close.
> Time
> for boost/algorithm.hpp?
Time for std::copy_if, I'd say. :-)
-- Peter Dimov Multi Media Ltd.