thrust

◆ make_reverse_iterator()

template<typename BidirectionalIterator >
__host__ __device__ reverse_iterator<BidirectionalIterator> thrust::make_reverse_iterator ( BidirectionalIterator  x)

make_reverse_iterator creates a reverse_iterator from a BidirectionalIterator pointing to a range of elements to reverse.

Parameters
xA BidirectionalIterator pointing to a range to reverse.
Returns
A new reverse_iterator which reverses the range x.

Referenced by thrust::reverse_iterator< BidirectionalIterator >::reverse_iterator().