|
Adobe Source Libraries 2.0.0
A collection of C++ libraries.
|
Functions | |
| template<class InputIterator, class UnaryFunction> | |
| void | for_each (InputIterator first, InputIterator last, UnaryFunction f) |
| for_each implementation | |
| template<class InputRange, class UnaryFunction> | |
| void | for_each (InputRange &range, UnaryFunction f) |
| for_each implementation | |
| template<class InputRange, class UnaryFunction> | |
| void | for_each (const InputRange &range, UnaryFunction f) |
| for_each implementation | |
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 std::reference_wrapper of the function object using std::ref() instead. | void for_each | ( | InputIterator | first, |
| InputIterator | last, | ||
| UnaryFunction | f ) |
Definition at line 42 of file for_each.hpp.
| void for_each | ( | InputRange & | range, |
| UnaryFunction | f ) |
Definition at line 52 of file for_each.hpp.
| void for_each | ( | const InputRange & | range, |
| UnaryFunction | f ) |
Definition at line 62 of file for_each.hpp.