Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ Derived1
Class
Derived1
base_code/derived_base.cpp:19–22 ·
view source on GitHub ↗
默认为私有继承
Source
from the content-addressed store, hash-verified
17
18
// 默认为私有继承
19
class Derived1 : Base1 {
20
public:
21
void test2() { cout <<
"value is "
<< value << endl; }
22
};
23
24
class Base {
25
public:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected