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.
!=
symbolt
1 parent 6b51aeb commit 64ce13dCopy full SHA for 64ce13d
src/util/symbol.cpp
@@ -176,3 +176,8 @@ bool symbolt::operator==(const symbolt &other) const
176
is_volatile == other.is_volatile;
177
// clang-format on
178
}
179
+
180
+bool symbolt::operator!=(const symbolt &other) const
181
+{
182
+ return !(*this == other);
183
+}
src/util/symbol.h
@@ -126,6 +126,7 @@ class symbolt
126
bool is_well_formed() const;
127
128
bool operator==(const symbolt &other) const;
129
+ bool operator!=(const symbolt &other) const;
130
};
131
132
std::ostream &operator<<(std::ostream &out, const symbolt &symbol);
0 commit comments