By-adress comparison operators for ManagedType.

master
Jonathan Protzenko 8 years ago
parent aabd954d67
commit 8bf318e2b4

@ -87,6 +87,14 @@ public:
T* get() {
return object;
}
bool operator!=(const ManagedType<T>& x) {
return !(this == x);
}
bool operator==(const ManagedType<T>& x) {
return this->object == x.object;
}
};
/**

Loading…
Cancel
Save