mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-18 10:06:54 +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
29 lines
1.3 KiB
Text
29 lines
1.3 KiB
Text
hi(partial_sum())
|
|
itemization(
|
|
it() Header file:
|
|
centt(#include <numeric>)
|
|
it() Function prototypes:
|
|
itemization(
|
|
itt(OutputIterator partial_sum+OPENPARInputIterator first,
|
|
InputIterator last,)linebreak()tt(OutputIterator result+CLOSEPAR;)
|
|
itt(OutputIterator partial_sum+OPENPARInputIterator first,
|
|
InputIterator last,)linebreak()tt(OutputIterator result, BinaryOperation
|
|
op+CLOSEPAR;)
|
|
)
|
|
it() Description:
|
|
itemization(
|
|
it() The first prototype: each element in the range
|
|
rangett(result, <returned OutputIterator>) receives a value which is obtained
|
|
by adding the elements in the corresponding range of the range rangett(first,
|
|
last). The first element in the resulting range will be equal to the element
|
|
pointed to by tt(first).
|
|
it() The second prototype: the value of each element in the range
|
|
rangett(result, <returned OutputIterator>) is obtained by applying the binary
|
|
operator tt(op) to the previous element in the resulting range and the
|
|
corresponding element in the range rangett(first, last). The first
|
|
element in the resulting range will be equal to the element pointed to by
|
|
tt(first).
|
|
)
|
|
it() Example:
|
|
verbinclude(stl/cc/partialsum.cc)
|
|
)
|