Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ operator delete
Method
operator delete
base_code/virtual_base.cpp:35–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
}
34
35
void operator delete(void *ptr) {
36
cout <<
"B::opeartor delete p: "
<< ptr << endl;
37
free(ptr);
38
}
39
private:
40
int mb;
41
};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected