We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4894e5e commit 79cb75cCopy full SHA for 79cb75c
tuple/include/array_tuple_sketch.hpp
@@ -82,6 +82,7 @@ class array {
82
T* data() { return array_; }
83
const T* data() const { return array_; }
84
bool operator==(const array& other) const {
85
+ if (size_ != other.size_) return false;
86
for (uint8_t i = 0; i < size_; ++i) if (array_[i] != other.array_[i]) return false;
87
return true;
88
}
0 commit comments