thrust
Classes | Namespaces | Functions
counting_iterator.h File Reference

An iterator which returns an increasing incrementable value when dereferenced. More...

#include <thrust/detail/config.h>
#include <thrust/iterator/iterator_adaptor.h>
#include <thrust/iterator/iterator_facade.h>
#include <thrust/iterator/iterator_categories.h>
#include <thrust/iterator/detail/counting_iterator.inl>

Go to the source code of this file.

Classes

class  thrust::counting_iterator< Incrementable, System, Traversal, Difference >
 

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 

Functions

template<typename Incrementable >
__host__ __device__ counting_iterator< Incrementable > thrust::make_counting_iterator (Incrementable x)
 

Detailed Description

An iterator which returns an increasing incrementable value when dereferenced.