mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:59:03 +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()); }
|
||||||
|
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) {
|
void movePtr(const Index& movement) {
|
||||||
auto byteptr = ((Byte*)_ptr);
|
auto byteptr = ((Byte*)_ptr);
|
||||||
|
|
Loading…
Reference in a new issue