/////// File EmpStack.h /////// // employee stack dervied from arbitrary stack #include "ArbStack.h" #include "Employee.h" class EmpStack : private ArbStack { public: EmpStack() { } EmpStack(Employee& x) : ArbStack(&x) { } int push(Employee& x); Employee& pop(); ArbStack::is_empty; }; inline int EmpStack::push(Employee& x) { return ArbStack::push( (Arbent) &x); } inline Employee& EmpStack::pop() { return *(Employee *)ArbStack::pop(); }