aboutsummaryrefslogtreecommitdiff
path: root/week11/Exercise02/Manager.h
blob: a3a4c88e9951ba8a0e715154e4cee6ae38627a7b (plain) (blame)
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);
};