We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 150644d commit 00ad02aCopy full SHA for 00ad02a
1 file changed
include/flatbuffers/vector.h
@@ -56,12 +56,24 @@ struct VectorIterator {
56
return data_ == other.data_;
57
}
58
59
+ bool operator!=(const VectorIterator &other) const {
60
+ return data_ != other.data_;
61
+ }
62
+
63
bool operator<(const VectorIterator &other) const {
64
return data_ < other.data_;
65
66
- bool operator!=(const VectorIterator &other) const {
- return data_ != other.data_;
67
+ bool operator>(const VectorIterator &other) const {
68
+ return data_ > other.data_;
69
70
71
+ bool operator<=(const VectorIterator &other) const {
72
+ return !(data_ > other.data_);
73
74
75
+ bool operator>=(const VectorIterator &other) const {
76
+ return !(data_ < other.data_);
77
78
79
difference_type operator-(const VectorIterator &other) const {
0 commit comments