thrust::make_transform_output_iterator
Defined in thrust/iterator/transform_output_iterator.h
- 
template<typename UnaryFunction, typename OutputIterator>
 transform_output_iterator<UnaryFunction, OutputIterator> thrust::make_transform_output_iterator(OutputIterator out, UnaryFunction fun)
- make_transform_output_iteratorcreates a- transform_output_iteratorfrom an- OutputIteratorand- UnaryFunction.- See also - Parameters
- out – The - OutputIteratorpointing to the output range of the newly created- transform_output_iterator
- fun – The - UnaryFunctiontransform the object before assigning it to- outby the newly created- transform_output_iterator