I want to specifically invoke the base class method; what's the most concise way to do this? For example:
class Base { public: bool operator != (Base&); }; class Child : public Base { public: bool operator != (Child& child_) { if(Base::operator!=(child_)) // Is there a more concise syntax than this? return true; // ... Some other comparisons that Base does not know about ... return false; } };
operator!=should be a const method, and take const parameters.