mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-16 07:48:44 +01:00
6881bc3814
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
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
hi(copy())
|
|
itemization(
|
|
it() Header file:
|
|
centt(#include <algorithm>)
|
|
it() Function prototype:
|
|
itemization(
|
|
itt(OutputIterator copy+OPENPARInputIterator first,
|
|
InputIterator last,)linebreak()tt(OutputIterator destination+CLOSEPAR;)
|
|
)
|
|
it() Description:
|
|
itemization(
|
|
it() The range of elements implied by the iterator range
|
|
rangett(first, last) is copied to an output range, starting at
|
|
tt(destination), using the assignment operator of the underlying data
|
|
type. The return value is the OutputIterator pointing just beyond the last
|
|
element that was copied to the destination range (so, `last' in the destination
|
|
range is returned).
|
|
)
|
|
it() Example:nl()
|
|
Note the second call to tt(copy()). It uses an tt(ostream_iterator) for
|
|
tt(string) objects. This iterator will write the tt(string) values to the
|
|
specified tt(ostream) (i.e., tt(cout)), separating the values by the specified
|
|
separation string (i.e., tt(" ")).
|
|
verbinclude(stl/cc/copy.cc)
|
|
it() See also:
|
|
link(tt(unique_copy()))(UNIQUECP)
|
|
)
|