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.
2 parents d91a7b9 + 64ce13d commit 79178ceCopy full SHA for 79178ce
src/util/symbol.cpp
@@ -228,3 +228,8 @@ bool symbolt::operator==(const symbolt &other) const
228
is_volatile == other.is_volatile;
229
// clang-format on
230
}
231
+
232
+bool symbolt::operator!=(const symbolt &other) const
233
+{
234
+ return !(*this == other);
235
+}
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