MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / Employee

Class Employee

base_code/virtual.cpp:7–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7class Employee
8{
9public:
10 virtual void raiseSalary()
11 {
12 cout<<0<<endl;
13 }
14
15 virtual void promote()
16 { /* common promote code */ }
17};
18
19class Manager: public Employee
20{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected