for_each |
Functions | |
template<class InputIterator , class UnaryFunction > | |
void | for_each (InputIterator first, InputIterator last, UnaryFunction f) |
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) |
Detailed Description
- Note:
- Unlike
std::for_each()
,adobe::for_each()
does not return a copy off
becausef
may not be a function object (it must model ConvertibleToFunction). If it is necessary to retrieve information from the function object, pass aboost::reference_wrapper
of the function object usingboost::ref()
instead.
Function Documentation
void adobe::for_each | ( | InputIterator | first, |
InputIterator | last, | ||
UnaryFunction | f | ||
) |
for_each implementation
Definition at line 41 of file for_each.hpp.
void adobe::for_each | ( | const InputRange & | range, |
UnaryFunction | f | ||
) |
for_each implementation
Definition at line 63 of file for_each.hpp.
void adobe::for_each | ( | InputRange & | range, |
UnaryFunction | f | ||
) |
for_each implementation
Definition at line 52 of file for_each.hpp.