Functions |
template<class InputIterator , class UnaryFunction > |
void | for_each_position (InputIterator first, InputIterator last, UnaryFunction f) |
template<class InputRange , class UnaryFunction > |
void | for_each_position (const InputRange &range, UnaryFunction f) |
template<class InputRange , class UnaryFunction > |
void | for_each_position (InputRange &range, UnaryFunction f) |
Detailed Description
for_each_position
applies the function f
to each iterator, as opposed to element, in the range [first, last); f's
return value, if any, is ignored. Applications are performed in forward order, i.e. from first to last.
- Complexity Guarantees:
- Linear. Exactly
last - first
applications of f
.
Function Documentation
void adobe::for_each_position |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
UnaryFunction |
f |
|
) |
| |
void adobe::for_each_position |
( |
const InputRange & |
range, |
|
|
UnaryFunction |
f |
|
) |
| |
void adobe::for_each_position |
( |
InputRange & |
range, |
|
|
UnaryFunction |
f |
|
) |
| |