Thrust
Namespaces | Functions
distance.h File Reference

Computes the size of a range. More...

#include <thrust/detail/config.h>
#include <thrust/iterator/iterator_traits.h>
#include <thrust/detail/distance.inl>

Go to the source code of this file.

Namespaces

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

Functions

template<typename InputIterator >
__host__ __device__ thrust::iterator_traits< InputIterator >::difference_type thrust::distance (InputIterator first, InputIterator last)
 

Detailed Description

Computes the size of a range.