1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#pragma once #include "Employee.h" class Manager : Employee { Employee* managedTeam; unsigned length; void free(); void copyFrom(const Manager& other); public: Manager(); ~Manager(); Manager(const Manager& other); Manager& operator=(const Manager& other); Manager(Manager&& other); Manager& operator=(Manager&& other); };