0.2.0
Loading...
Searching...
No Matches
NAV::ScrollingBuffer< T, _Padding >::ReverseIterator Class Reference

Reverse Iterator. More...

Public Types

using difference_type
 Signed integer type (usually std::ptrdiff_t)
 
using iterator_category
 To categorize the iteration direction.
 
using pointer
 value_type*
 
using reference
 value_type&
 
using value_type
 T.
 

Public Member Functions

reference operator* () const
 Returns a reference to the current element.
 
ReverseIteratoroperator++ ()
 Advances the iterator.
 
ReverseIterator operator++ (int)
 Advances the iterator.
 
pointer operator-> ()
 Returns a pointer to the current element.
 
 ReverseIterator (ScrollingBuffer &buffer, int64_t index=0)
 Constructor.
 

Detailed Description

template<class T, size_t _Padding = 0>
class NAV::ScrollingBuffer< T, _Padding >::ReverseIterator

Reverse Iterator.

Constructor & Destructor Documentation

◆ ReverseIterator()

template<class T , size_t _Padding = 0>
NAV::ScrollingBuffer< T, _Padding >::ReverseIterator::ReverseIterator ( ScrollingBuffer & buffer,
int64_t index = 0 )
inlineexplicit

Constructor.

Parameters
[in]bufferMutable reference to the buffer of the iterator
[in]indexIterator index inside the buffer (counted from the non-reversed start)

The documentation for this class was generated from the following file: