Suppose I have classes class Base { public: Base() : cache_(0) {} // cache is not copied. Base(Base const &) : cache_(0) {} Base & operator=(Base const &) { return *this; }
private: mutable int cache_; }; class Derived : public Base { ??? }; The question is, do I need to define explicit copy c-tor and operator= for Derived to ensure that Base's copy c-tor, operator= is used? -- Angus