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

Class Derived

base_code/virtual_inline.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 virtual ~Base() = default;
57};
58class Derived : public Base
59{
60public:
61 inline void who() override // 不写inline时隐式内联
62 {
63 cout << "I am Derived\n";
64 }
65};
66
67int main()
68{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected