ReactOS  0.4.14-dev-293-g2b39b42
iota.h File Reference
#include <numeric>
Include dependency graph for iota.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename _It , typename _Tp >
void __iota (_It __first, _It __last, _Tp __val)
 

Function Documentation

◆ __iota()

template<typename _It , typename _Tp >
void __iota ( _It  __first,
_It  __last,
_Tp  __val 
)

Definition at line 8 of file iota.h.

8  {
9 #if defined (STLPORT) && !defined (_STLP_NO_EXTENSIONS)
10  iota(__first, __last, __val);
11 #else
12  while (__first != __last) {
13  *__first++ = __val++;
14  }
15 #endif
16 }
_STLP_INLINE_LOOP void iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __val)
Definition: _numeric.h:174
_STLP_INLINE_LOOP _InputIter __last
Definition: _algo.h:68
_STLP_INLINE_LOOP _InputIter const _Tp & __val
Definition: _algobase.h:656

Referenced by IterTest::iterswp1(), MergeTest::merge1(), MismatchTest::mismatch1(), PermTest::nextprm1(), PermTest::nextprm2(), PartialTest::partsum1(), PartialTest::partsum2(), PermTest::prevprm1(), PermTest::prevprm2(), RndShuffleTest::rndshuf2(), RotateTest::rotate1(), RotateTest::rotcopy1(), SearchTest::search1(), SetDifferenceTest::setdiff1(), SetIntersectionTest::setintr1(), SetDifferenceTest::setsymd1(), and SetUnionTest::setunon1().