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

Class Base

base_code/default_arg.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using namespace std;
7
8class Base
9{
10public:
11 virtual void fun (int x = 10) {
12 cout << "Base::fun(), x = " << x << endl;
13 }
14};
15
16class Derived: public Base
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected