Thrust
Classes | Namespaces | Functions
transform_iterator.h File Reference

An iterator which adapts another iterator by applying a function to the result of its dereference. More...

#include <thrust/detail/config.h>
#include <thrust/iterator/detail/transform_iterator.inl>
#include <thrust/iterator/iterator_facade.h>
#include <thrust/iterator/iterator_traits.h>
#include <thrust/detail/type_traits.h>

Go to the source code of this file.

Classes

class  thrust::transform_iterator< AdaptableUnaryFunction, Iterator, Reference, Value >
 

Namespaces

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

Functions

template<class AdaptableUnaryFunction , class Iterator >
__host__ __device__ transform_iterator< AdaptableUnaryFunction, Iterator > thrust::make_transform_iterator (Iterator it, AdaptableUnaryFunction fun)
 

Detailed Description

An iterator which adapts another iterator by applying a function to the result of its dereference.