/////// File: ArbL_ac.h /////// // example in Chapter 7 #include "ArbList.h" // generic list with assignment and copy class ArbList_ac : public ArbList { public: ArbList_ac() { } // default constructor ArbList_ac(Arbent c, EQ_FN eq, DISP_FN d) : ArbList(c, eq, d) { } ~ArbList_ac() { } // destructor ArbList_ac& operator =(const ArbList& x); // assignment ArbList_ac(const ArbList_ac& x) // copy constructor { copy( (ArbList&)x ); } ArbList_ac(const ArbList& x) // conversion { copy(x); } private: void copy(const ArbList& x); };