20 #if !defined( BOLT_AMP_FOR_EACH_H )
21 #define BOLT_AMP_FOR_EACH_H
92 template<
typename InputIterator ,
typename UnaryFunction >
93 InputIterator
for_each (InputIterator first, InputIterator last, UnaryFunction f);
96 template<
typename InputIterator ,
typename UnaryFunction >
97 InputIterator
for_each (control &ctl, InputIterator first, InputIterator last, UnaryFunction f);
139 template<
typename InputIterator ,
typename Size ,
typename UnaryFunction >
140 InputIterator
for_each_n ( InputIterator first, Size n, UnaryFunction f);
145 template<
typename InputIterator ,
typename Size ,
typename UnaryFunction >
146 InputIterator
for_each_n ( control &ctl, InputIterator first, Size n, UnaryFunction f);
154 #include <bolt/amp/detail/for_each.inl>