cppannotations/yo/stl/replacecopyif.yo
fbbrokken 6881bc3814 The trunk directory contains the latest version (6.4.0c) of the C++
Annotations. 

The branches and tags directory are empty, since I couldn't
svnadmin import a repostitory dump. Many earlier versions exist, though, and
if you want the full archive, just let me know and I'll send you the svnadmin
dump of my full C++ Annotations archive.

Frank B. Brokken <f.b.brokken@rug.nl>



git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@3 f6dd340e-d3f9-0310-b409-bdd246841980
2006-09-04 08:26:34 +00:00

21 lines
828 B
Text

hi(replace_copy_if())
itemization(
it() Header file:
centt(#include <algorithm>)
it() Function prototypes:
itemization(
itt(OutputIterator replace_copy_if+OPENPARForwardIterator first,
ForwardIterator) linebreak() tt(last, OutputIterator result, UnaryPredicate
pred, Type const &value+CLOSEPAR;)
)
it() Description:
itemization(
it() The elements in the range pointed to by rangett(first, last)
are copied to the range rangett(result, returnvalue), where tt(returnvalue) is
the value returned by the function. The elements for which the unary predicate
tt(pred) returns tt(true) are replaced by tt(newvalue). The range
rangett(first, last) is not modified.
)
it() Example:
verbinclude(stl/cc/replacecopyif.cc)
)