mn::reverse_iterator< TIterator > Class Template Reference
#include <mn_iterator.hpp>
Public Types | |
using | value_type = typename iterator_traits< TIterator >::value_type |
using | difference_type = typename iterator_traits< TIterator >::difference_type |
using | pointer = typename iterator_traits< TIterator >::pointer |
using | reference = typename iterator_traits< TIterator >::reference |
using | iterator_category = typename iterator_traits< TIterator >::iterator_category |
using | iterator = TIterator |
using | self_type = reverse_iterator< TIterator > |
Public Member Functions | |
constexpr | reverse_iterator () |
constexpr | reverse_iterator (TIterator iter) |
constexpr iterator | base () const |
constexpr reference | operator* () const |
constexpr pointer | operator-> () const |
constexpr self_type & | operator++ () |
constexpr self_type & | operator-- () |
constexpr self_type | operator++ (int) |
constexpr self_type | operator-- (int) |
constexpr self_type & | operator+= (size_t n) |
constexpr self_type & | operator-= (size_t n) |
constexpr self_type | operator+ (size_t n) const |
constexpr self_type | operator- (size_t n) const |
constexpr bool | operator== (const self_type &iter) const |
constexpr bool | operator< (const self_type &iter) const |
constexpr reference | operator[] (size_t n) const |
constexpr difference_type | operator- (const self_type &i) const |
Protected Attributes | |
iterator | m_itter |
Member Typedef Documentation
◆ difference_type
template<typename TIterator >
using mn::reverse_iterator< TIterator >::difference_type = typename iterator_traits<TIterator>::difference_type |
◆ iterator
template<typename TIterator >
using mn::reverse_iterator< TIterator >::iterator = TIterator |
◆ iterator_category
template<typename TIterator >
using mn::reverse_iterator< TIterator >::iterator_category = typename iterator_traits<TIterator>::iterator_category |
◆ pointer
template<typename TIterator >
using mn::reverse_iterator< TIterator >::pointer = typename iterator_traits<TIterator>::pointer |
◆ reference
template<typename TIterator >
using mn::reverse_iterator< TIterator >::reference = typename iterator_traits<TIterator>::reference |
◆ self_type
template<typename TIterator >
using mn::reverse_iterator< TIterator >::self_type = reverse_iterator<TIterator> |
◆ value_type
template<typename TIterator >
using mn::reverse_iterator< TIterator >::value_type = typename iterator_traits<TIterator>::value_type |
Constructor & Destructor Documentation
◆ reverse_iterator() [1/2]
template<typename TIterator >
|
inlineconstexpr |
◆ reverse_iterator() [2/2]
template<typename TIterator >
|
inlineexplicitconstexpr |
Member Function Documentation
◆ base()
template<typename TIterator >
|
inlineconstexpr |
◆ operator*()
template<typename TIterator >
|
inlineconstexpr |
◆ operator+()
template<typename TIterator >
|
inlineconstexpr |
◆ operator++() [1/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator++() [2/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator+=()
template<typename TIterator >
|
inlineconstexpr |
◆ operator-() [1/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator-() [2/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator--() [1/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator--() [2/2]
template<typename TIterator >
|
inlineconstexpr |
◆ operator-=()
template<typename TIterator >
|
inlineconstexpr |
◆ operator->()
template<typename TIterator >
|
inlineconstexpr |
◆ operator<()
template<typename TIterator >
|
inlineconstexpr |
◆ operator==()
template<typename TIterator >
|
inlineconstexpr |
◆ operator[]()
template<typename TIterator >
|
inlineconstexpr |
Member Data Documentation
◆ m_itter
template<typename TIterator >
|
protected |
The documentation for this class was generated from the following file: