thrust::make_reverse_iterator
Defined in thrust/iterator/reverse_iterator.h
-
template<typename BidirectionalIterator>
reverse_iterator<BidirectionalIterator> thrust::make_reverse_iterator(BidirectionalIterator x) make_reverse_iterator
creates areverse_iterator
from aBidirectionalIterator
pointing to a range of elements to reverse.- Parameters
x – A
BidirectionalIterator
pointing to a range to reverse.- Returns
A new
reverse_iterator
which reverses the rangex
.