Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2002-05-07 09:26:45

"Grunin, Oleg (Exchange)" <ogrunin_at_[hidden]> wrote in message
> > From: Anthony Williams [mailto:anthony_w.geo_at_[hidden]]
> > Sent: Friday, May 03, 2002 10:36 AM
> > I just added a page to the wiki, with an implementation of copy_if
> >
> >
> > xtensions/CopyIf

> Doesn't remove_copy_if do the same thing?

remove_copy_if does the exact opposite --- copies all the elements for which
the predicate returns false. Which means you need an adaptable predicate in
order to use std::not1 to negate it.


Anthony Williams
Software Engineer, Nortel Networks Optical Components Ltd
The opinions expressed in this message are not necessarily those of my

Boost list run by bdawes at, gregod at, cpdaniel at, john at