// Sorry, couldn't resist... #include <iostream> using namespace std; class Integer { public: int value; Integer(int rhs) { value = rhs; } int operator +(Integer rhs) { return value + rhs.value; } int operator /(Integer rhs) { return value * rhs.value; } }; int main(void) { Integer one = 1, two = 2; cout << ((one+one) == (one/two)) << endl; return 0; } // Output: // 1