thrust

◆ permutation_iterator() [3/3]

template<typename ElementIterator, typename IndexIterator>
template<typename OtherElementIterator , typename OtherIndexIterator >
__host__ __device__ thrust::permutation_iterator< ElementIterator, IndexIterator >::permutation_iterator ( permutation_iterator< OtherElementIterator, OtherIndexIterator > const &  r,
typename detail::enable_if_convertible< OtherElementIterator, ElementIterator >::type *  = 0,
typename detail::enable_if_convertible< OtherIndexIterator, IndexIterator >::type *  = 0 
)
inline

Copy constructor accepts a related permutation_iterator.

Parameters
rA compatible permutation_iterator to copy from.