Boost logo

Boost :

From: Grunin, Oleg (Exchange) (ogrunin_at_[hidden])
Date: 2002-05-07 12:43:15


My point was: why add another algorithm if the intended result is so easy to
achieve with an existing one.

> -----Original Message-----
> From: Powell, Gary [mailto:powellg_at_[hidden]]
> Sent: Tuesday, May 07, 2002 10:58 AM
> To: boost_at_[hidden]
> Subject: RE: [boost] copy_if
>
>
> It's the reverse,
>
> remove_copy_if(a.begin,a.end, b.begin, valuesIDontwant);
>
> copy_if(a.begin,a.end, b.begin, valuesIwant);
>
> So you could forward one from the other, reversing the
> predicate result.
>
> -Gary-
>
> -----Original Message-----
> From: Grunin, Oleg (Exchange) [mailto:ogrunin_at_[hidden]]
> Sent: Tuesday, May 07, 2002 7:09 AM
> To: 'boost_at_[hidden]'
> Subject: RE: [boost] copy_if
>
>
> Doesn't remove_copy_if do the same thing?
>
> -----Original Message-----
> From: Anthony Williams [mailto:anthony_w.geo_at_[hidden]]
> Sent: Friday, May 03, 2002 10:36 AM
> To: boost_at_[hidden]
> Subject: [boost] copy_if
>
>
> I just added a page to the wiki, with an implementation of copy_if
>
> http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl
?STLAlgori
thmE
xtensions/CopyIf

Comments, anyone

Anthony

--
Anthony Williams
Software Engineer, Nortel Networks Optical Components Ltd
The opinions expressed in this message are not necessarily those of my
employer
****************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk