openMSX
|
#include <xrange.hh>
Public Types | |
using | difference_type = ptrdiff_t |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
constexpr T | operator* () const |
constexpr Iter & | operator++ () |
constexpr Iter | operator++ (int) |
constexpr Iter & | operator-- () |
constexpr Iter | operator-- (int) |
constexpr Iter & | operator+= (difference_type n) |
constexpr Iter & | operator-= (difference_type n) |
constexpr T | operator[] (difference_type n) |
auto | operator<=> (const Iter &) const =default |
Public Attributes | |
T | x |
Friends | |
constexpr friend Iter | operator+ (Iter i, difference_type n) |
constexpr friend Iter | operator+ (difference_type n, Iter i) |
constexpr friend Iter | operator- (Iter i, difference_type n) |
constexpr friend difference_type | operator- (const Iter &i, const Iter &j) |
using XRange< T >::Iter::difference_type = ptrdiff_t |
using XRange< T >::Iter::iterator_category = std::random_access_iterator_tag |
using XRange< T >::Iter::pointer = T* |
using XRange< T >::Iter::reference = T& |
using XRange< T >::Iter::value_type = T |
|
inlineconstexpr |
Definition at line 52 of file xrange.hh.
References XRange< T >::Iter::x.
Definition at line 57 of file xrange.hh.
References XRange< T >::Iter::x.
Definition at line 62 of file xrange.hh.
References XRange< T >::Iter::x.
|
inlineconstexpr |
Definition at line 83 of file xrange.hh.
References XRange< T >::Iter::x.
Definition at line 70 of file xrange.hh.
References XRange< T >::Iter::x.
Definition at line 75 of file xrange.hh.
References XRange< T >::Iter::x.
|
inlineconstexpr |
Definition at line 88 of file xrange.hh.
References XRange< T >::Iter::x.
|
inlineconstexpr |
|
friend |
|
friend |
|
friend |
|
friend |
T XRange< T >::Iter::x |
Definition at line 122 of file xrange.hh.
Referenced by XRange< T >::Iter::operator*(), XRange< T >::Iter::operator++(), XRange< T >::Iter::operator++(), XRange< T >::Iter::operator+=(), XRange< T >::Iter::operator--(), XRange< T >::Iter::operator--(), and XRange< T >::Iter::operator-=().