const Base& vs. const Tst& Bernd Prager wrote:
class Base { public: virtual bool operator<(const Base& b) const; ...}; ... class Tst: public Base { public: bool operator<(const Tst& t) const; // less then
const Base& vs. const Tst& Bernd Prager wrote:
class Base { public: virtual bool operator<(const Base& b) const; ...}; ... class Tst: public Base { public: bool operator<(const Tst& t) const; // less then