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

Class Derived

base_code/default_arg.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16class Derived: public Base
17{
18public:
19 virtual void fun (int x = 20) {
20 cout << "Derived::fun(), x = " << x << endl;
21 }
22};
23
24int main()
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected