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

Class Base

base_code/inline.cpp:4–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2using namespace std;
3
4class Base
5{
6public:
7 inline virtual void who()
8 {
9 cout << "I am Base\n";
10 }
11
12 virtual ~Base() = default;
13};
14
15class Derived: public Base
16{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected