|
|
|
Functions |
| template<class InputRange , class UnaryFunction > |
| void | for_each (const InputRange &range, UnaryFunction f) |
| template<class InputRange , class UnaryFunction > |
| void | for_each (InputRange &range, UnaryFunction f) |
| template<class InputIterator , class UnaryFunction > |
| void | for_each (InputIterator first, InputIterator last, UnaryFunction f) |
Detailed Description
- Note:
- Unlike
std::for_each(), adobe::for_each() does not return a copy of f because f may not be a function object (it must model ConvertibleToFunction). If it is necessary to retrieve information from the function object, pass a boost::reference_wrapper of the function object using boost::ref() instead.
Function Documentation
| void adobe::for_each |
( |
const InputRange & |
range, |
|
|
UnaryFunction |
f | |
|
) |
| | |
| void adobe::for_each |
( |
InputRange & |
range, |
|
|
UnaryFunction |
f | |
|
) |
| | |
| void adobe::for_each |
( |
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
UnaryFunction |
f | |
|
) |
| | |
|