Commit 5cfa0913 authored by Ronan's avatar Ronan

feat(Variant): remove other operators

parent 28d0c79a
......@@ -188,21 +188,6 @@ Variant::~Variant () {
delete d;
}
bool Variant::operator!= (const Variant &other) const {
// TODO.
return false;
}
bool Variant::operator< (const Variant &other) const {
// TODO.
return false;
}
bool Variant::operator<= (const Variant &other) const {
// TODO.
return false;
}
Variant &Variant::operator= (const Variant &other) {
L_D();
......@@ -227,21 +212,6 @@ Variant &Variant::operator= (Variant &&other) {
return *this;
}
bool Variant::operator== (const Variant &other) const {
// TODO.
return false;
}
bool Variant::operator> (const Variant &other) const {
// TODO.
return false;
}
bool Variant::operator>= (const Variant &other) const {
// TODO.
return false;
}
bool Variant::isValid () const {
L_D();
return d->getType() != Invalid;
......
......@@ -87,14 +87,8 @@ public:
~Variant ();
bool operator!= (const Variant &other) const;
bool operator< (const Variant &other) const;
bool operator<= (const Variant &other) const;
Variant &operator= (const Variant &other);
Variant &operator= (Variant &&other);
bool operator== (const Variant &other) const;
bool operator> (const Variant &other) const;
bool operator>= (const Variant &other) const;
template<typename T>
void setValue (const T &value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment