Right now, transform_iterator requires AdaptableUnaryFunction of its functor,
because it searches for a nested result_type. This doesn't work with lambda
placeholder arithmetic, because their types are not adaptable.
We should do the following:
1. Introduce thrust::detail::result_of.
2. Delegate the task of inferring the result of transform_iterator's functor to
thrust::detail::result_of.
3. Specialize thrust::detail::result_of for thrust::detail::functional::actor.
Original issue reported on code.google.com by jaredhoberock on 8 Jun 2011 at 1:53
Original issue reported on code.google.com by
jaredhoberock
on 8 Jun 2011 at 1:53