Template Class DiscardOutputIterator¶
Defined in File discard_output_iterator.hpp
Class Documentation¶
-
template<typename OffsetT = ptrdiff_t>
class hipcub::DiscardOutputIterator¶ A discard iterator.
Public Types
-
typedef DiscardOutputIterator self_type¶
My own type.
ostream operator
Not equal to.
Equal to.
Array subscript.
Distance.
Subtraction assignment.
Addition assignment.
Addition.
Indirection.
Postfix increment.
-
typedef OffsetT difference_type¶
Type to express the result of subtracting one iterator from another.
-
typedef void value_type¶
The type of the element the iterator can point to.
-
typedef void pointer¶
The type of a pointer to an element the iterator can point to.
-
typedef void reference¶
The type of a reference to an element the iterator can point to.
-
typedef std::random_access_iterator_tag iterator_category¶
The iterator category.
Public Functions
-
__host__ __device__ __forceinline__ inline DiscardOutputIterator(OffsetT offset = 0)¶
Constructor.
- Parameters
offset – Base offset
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type operator+(Distance n) const¶
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type &operator+=(Distance n)¶
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type operator-(Distance n) const¶
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type &operator-=(Distance n)¶
-
__host__ __device__ __forceinline__ inline difference_type operator-(self_type other) const¶
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type &operator[](Distance)¶
-
template<typename T>
__host__ __device__ __forceinline__ inline void operator=(T const&)¶ Assignment to anything else (no-op)
-
__host__ __device__ __forceinline__ inline operator void*() const¶
Cast to void* operator.
-
typedef DiscardOutputIterator self_type¶