• Home
  • Raw
  • Download

Lines Matching refs:__first

79 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init)
81 for (; __first != __last; ++__first)
82 __init = __init + *__first;
89 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)
91 for (; __first != __last; ++__first)
92 __init = __binary_op(__init, *__first);
120 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
122 if (__first != __last)
124 typename iterator_traits<_InputIterator>::value_type __t(*__first);
126 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
128 __t = __t + *__first;
138 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
141 if (__first != __last)
143 typename iterator_traits<_InputIterator>::value_type __t(*__first);
145 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
147 __t = __binary_op(__t, *__first);
157 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
159 if (__first != __last)
161 typename iterator_traits<_InputIterator>::value_type __t1(*__first);
163 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
165 typename iterator_traits<_InputIterator>::value_type __t2(*__first);
176 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
179 if (__first != __last)
181 typename iterator_traits<_InputIterator>::value_type __t1(*__first);
183 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
185 typename iterator_traits<_InputIterator>::value_type __t2(*__first);
196 iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value_)
198 for (; __first != __last; ++__first, (void) ++__value_)
199 *__first = __value_;