Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

prevector< N, T, Size, Diff >::reverse_iterator Class Reference

#include <prevector.h>

Public Types

typedef Diff difference_type
 
typedef T value_type
 
typedef T * pointer
 
typedef T & reference
 
typedef std::bidirectional_iterator_tag iterator_category
 

Public Member Functions

 reverse_iterator (T *ptr_)
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> ()
 
const T * operator-> () const
 
reverse_iteratoroperator-- ()
 
reverse_iteratoroperator++ ()
 
reverse_iterator operator++ (int)
 
reverse_iterator operator-- (int)
 
bool operator== (reverse_iterator x) const
 
bool operator!= (reverse_iterator x) const
 

Private Attributes

T * ptr
 

Detailed Description

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
class prevector< N, T, Size, Diff >::reverse_iterator

Definition at line 79 of file prevector.h.

Member Typedef Documentation

◆ difference_type

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
typedef Diff prevector< N, T, Size, Diff >::reverse_iterator::difference_type

Definition at line 82 of file prevector.h.

◆ iterator_category

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
typedef std::bidirectional_iterator_tag prevector< N, T, Size, Diff >::reverse_iterator::iterator_category

Definition at line 86 of file prevector.h.

◆ pointer

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
typedef T* prevector< N, T, Size, Diff >::reverse_iterator::pointer

Definition at line 84 of file prevector.h.

◆ reference

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
typedef T& prevector< N, T, Size, Diff >::reverse_iterator::reference

Definition at line 85 of file prevector.h.

◆ value_type

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
typedef T prevector< N, T, Size, Diff >::reverse_iterator::value_type

Definition at line 83 of file prevector.h.

Constructor & Destructor Documentation

◆ reverse_iterator()

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
prevector< N, T, Size, Diff >::reverse_iterator::reverse_iterator ( T *  ptr_)
inline

Definition at line 87 of file prevector.h.

Member Function Documentation

◆ operator!=()

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::reverse_iterator::operator!= ( reverse_iterator  x) const
inline

Definition at line 97 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator*() [1/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
T& prevector< N, T, Size, Diff >::reverse_iterator::operator* ( )
inline

Definition at line 88 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator*() [2/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
const T& prevector< N, T, Size, Diff >::reverse_iterator::operator* ( ) const
inline

Definition at line 89 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator++() [1/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
reverse_iterator& prevector< N, T, Size, Diff >::reverse_iterator::operator++ ( )
inline

Definition at line 93 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator++() [2/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
reverse_iterator prevector< N, T, Size, Diff >::reverse_iterator::operator++ ( int  )
inline

Definition at line 94 of file prevector.h.

References immer::copy().

◆ operator--() [1/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
reverse_iterator& prevector< N, T, Size, Diff >::reverse_iterator::operator-- ( )
inline

Definition at line 92 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator--() [2/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
reverse_iterator prevector< N, T, Size, Diff >::reverse_iterator::operator-- ( int  )
inline

Definition at line 95 of file prevector.h.

References immer::copy().

◆ operator->() [1/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
T* prevector< N, T, Size, Diff >::reverse_iterator::operator-> ( )
inline

Definition at line 90 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator->() [2/2]

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
const T* prevector< N, T, Size, Diff >::reverse_iterator::operator-> ( ) const
inline

Definition at line 91 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

◆ operator==()

template<unsigned int N, typename T, typename Size = uint32_t, typename Diff = int32_t>
bool prevector< N, T, Size, Diff >::reverse_iterator::operator== ( reverse_iterator  x) const
inline

Definition at line 96 of file prevector.h.

References prevector< N, T, Size, Diff >::reverse_iterator::ptr.

Member Data Documentation

◆ ptr


The documentation for this class was generated from the following file:
Released under the MIT license