|
| template<class InputIterator , class UnaryFunction > |
| void | for_each_position (InputIterator first, InputIterator last, UnaryFunction f) |
| |
| template<class InputRange , class UnaryFunction > |
| void | for_each_position (InputRange &range, UnaryFunction f) |
| |
| template<class InputRange , class UnaryFunction > |
| void | for_each_position (const InputRange &range, UnaryFunction f) |
| |
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.
| void adobe::for_each_position |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
UnaryFunction |
f |
|
) |
| |
| void adobe::for_each_position |
( |
InputRange & |
range, |
|
|
UnaryFunction |
f |
|
) |
| |
| void adobe::for_each_position |
( |
const InputRange & |
range, |
|
|
UnaryFunction |
f |
|
) |
| |