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

Class Base

base_code/virtual_inline.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47#include <iostream>
48using namespace std;
49class Base
50{
51public:
52 inline virtual void who()
53 {
54 cout << "I am Base\n";
55 }
56 virtual ~Base() = default;
57};
58class Derived : public Base
59{
60public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected