Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ test2
Method
test2
base_code/derived_base.cpp:41–41 ·
view source on GitHub ↗
error! 不能访问 private 成员
Source
from the content-addressed store, hash-verified
39
public:
40
using Base::value; // error! 不能访问 private 成员
41
void test2() { cout <<
"value is "
<< value << endl; }
42
};
43
44
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected