We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc84aad commit 07d026dCopy full SHA for 07d026d
1 file changed
include/scratchcpp/value.h
@@ -532,6 +532,8 @@ class LIBSCRATCHCPP_EXPORT Value
532
return false;
533
}
534
535
+ friend bool operator!=(const Value &v1, const Value &v2) { return !(v1 == v2); }
536
+
537
friend bool operator>(const Value &v1, const Value &v2)
538
{
539
if ((static_cast<int>(v1.m_type) < 0) || (static_cast<int>(v2.m_type) < 0)) {
0 commit comments