23 #include <thrust/detail/config.h> 24 #include <thrust/detail/type_traits.h> 25 #include <thrust/detail/execution_policy.h> 27 THRUST_NAMESPACE_BEGIN
89 template<
typename DerivedPolicy,
90 typename InputIterator,
91 typename UnaryFunction>
93 InputIterator
for_each(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
152 template<
typename DerivedPolicy,
153 typename InputIterator,
155 typename UnaryFunction>
157 InputIterator
for_each_n(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
210 template<
typename InputIterator,
211 typename UnaryFunction>
212 InputIterator
for_each(InputIterator first,
265 template<
typename InputIterator,
267 typename UnaryFunction>
277 #include <thrust/detail/for_each.inl> InputIterator for_each_n(InputIterator first, Size n, UnaryFunction f)
InputIterator for_each(InputIterator first, InputIterator last, UnaryFunction f)