Struct ReverseIterator

Struct Documentation

struct ReverseIterator

This utility class provides a wrapper for unsigned int * It causes the pointer to iterate in reverse backwards

Public Types

using difference_type = unsigned int
using value_type = unsigned int
using pointer = unsigned int*
using reference = unsigned int&
using iterator_category = std::random_access_iterator_tag

Public Functions

__host__ __device__ inline explicit ReverseIterator(unsigned int *_p)
__device__ inline ReverseIterator operator++(int a)
__device__ inline ReverseIterator operator++()
__device__ inline unsigned int &operator*() const
__device__ inline ReverseIterator operator+(const int &b) const
__device__ inline unsigned int &operator[](int b) const

Public Members

unsigned int *p