Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ Derived
Method
Derived
base_code/struct_function.cpp:39–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
struct Derived:Base {
38
39
Derived() {
40
cout<<
"Derived construct"
<<endl;
41
};
42
~Derived() override {
43
cout<<
"Derived deconstruct"
<<endl;
44
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected