std-indices: Fix infinite recursion in ranged::operator!=
This commit is contained in:
parent
7d570547ed
commit
1d43fcb3e7
@ -36,7 +36,7 @@ public:
|
|||||||
iterator operator+(const value_type v) const { return iterator(num + v); }
|
iterator operator+(const value_type v) const { return iterator(num + v); }
|
||||||
|
|
||||||
bool operator==(iterator other) const { return num == other.num; }
|
bool operator==(iterator other) const { return num == other.num; }
|
||||||
bool operator!=(iterator other) const { return *this != other; }
|
bool operator!=(iterator other) const { return num != other.num; }
|
||||||
bool operator<(iterator other) const { return num < other.num; }
|
bool operator<(iterator other) const { return num < other.num; }
|
||||||
|
|
||||||
reference operator*() const { return num;}
|
reference operator*() const { return num;}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user