Boost logo

Boost :

From: Powell, Gary (powellg_at_[hidden])
Date: 2002-05-07 09:57:31


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
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
***********************************************************************
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.
***********************************************************************
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

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