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 9a6c0e7 commit e8c4f45Copy full SHA for e8c4f45
include/scratchcpp/value.h
@@ -455,6 +455,8 @@ class LIBSCRATCHCPP_EXPORT Value : public ValueVariant
455
return false;
456
}
457
458
+ friend bool operator!=(const Value &v1, const Value &v2) { return !(v1 == v2); }
459
+
460
friend bool operator>(const Value &v1, const Value &v2)
461
{
462
if ((static_cast<int>(v1.m_type) < 0) || (static_cast<int>(v2.m_type) < 0)) {
0 commit comments