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

Class Base

base_code/virtual_function.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36class Derived;
37
38class Base
39{
40public:
41 virtual void fun() { cout << "Base Fun"; }
42};
43
44class Derived: public Base
45{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected