$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Lois Goldthwaite (loisg_at_[hidden])
Date: 2001-01-10 07:03:18
I've often thought it would add to the intuitive obviosity of this
algorithm if it had been named copy_removing_if instead!
Lois
> Message: 25
>    Date: Tue, 9 Jan 2001 16:29:12 -0500 (EST)
>    From: "John E. Potter" <jpotter_at_[hidden]>
> Subject: Re: copy_if
> 
> 
> 
> 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
>