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