Thrust

◆ transform_iterator() [4/4]

template<class AdaptableUnaryFunction, class Iterator, class Reference = use_default, class Value = use_default>
template<typename OtherAdaptableUnaryFunction , typename OtherIterator , typename OtherReference , typename OtherValue >
__host__ __device__ thrust::transform_iterator< AdaptableUnaryFunction, Iterator, Reference, Value >::transform_iterator ( const transform_iterator< OtherAdaptableUnaryFunction, OtherIterator, OtherReference, OtherValue > &  other,
typename thrust::detail::enable_if_convertible< OtherIterator, Iterator >::type *  = 0,
typename thrust::detail::enable_if_convertible< OtherAdaptableUnaryFunction, AdaptableUnaryFunction >::type *  = 0 
)

This copy constructor creates a new transform_iterator from another transform_iterator.

Parameters
otherThe transform_iterator to copy.