diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/value.cc b/src/value.cc index 8320aff..a281409 100644 --- a/src/value.cc +++ b/src/value.cc @@ -300,11 +300,6 @@ Value &Value::operator=(const Value &v) return *this; } -Value Value::operator!() const -{ - return Value(!this->toBool()); -} - class equals_visitor : public boost::static_visitor<bool> { public: @@ -327,16 +322,6 @@ bool Value::operator!=(const Value &v) const return !(*this == v); } -bool Value::operator&&(const Value &v) const -{ - return this->toBool() && v.toBool(); -} - -bool Value::operator||(const Value &v) const -{ - return this->toBool() || v.toBool(); -} - class less_visitor : public boost::static_visitor<bool> { public: |