thrust::make_counting_iterator
Defined in thrust/iterator/counting_iterator.h
- 
template<typename Incrementable>
 inline counting_iterator<Incrementable> thrust::make_counting_iterator(Incrementable x)
- make_counting_iteratorcreates a- counting_iteratorusing an initial value for its- Incrementablecounter.- Parameters
- x – The initial value of the new - counting_iterator'scounter.
- Returns
- A new - counting_iteratorwhose counter has been initialized to- x.