thrust::make_discard_iterator
Defined in thrust/iterator/discard_iterator.h
- 
inline discard_iterator thrust::make_discard_iterator(discard_iterator<>::difference_type i = discard_iterator<>::difference_type(0))
- make_discard_iteratorcreates a- discard_iteratorfrom an optional index parameter.- See also - Parameters
- i – The index of the returned - discard_iteratorwithin a range. In the default case, the value of this parameter is- 0.
- Returns
- A new - discard_iteratorwith index as given by- i.