mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 13:12:52 +02:00
add BufferView::Iterator operator<() and friend
This commit is contained in:
parent
c3f165d9da
commit
5b5ed220bc
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ public:
|
|||
|
||||
bool operator==(const Iterator<T>& iterator) const { return (_ptr == iterator.getConstPtr()); }
|
||||
bool operator!=(const Iterator<T>& iterator) const { return (_ptr != iterator.getConstPtr()); }
|
||||
bool operator<(const Iterator<T>& iterator) const { return (_ptr < iterator.getConstPtr()); }
|
||||
bool operator>(const Iterator<T>& iterator) const { return (_ptr > iterator.getConstPtr()); }
|
||||
|
||||
void movePtr(const Index& movement) {
|
||||
auto byteptr = ((Byte*)_ptr);
|
||||
|
|
Loading…
Reference in a new issue