Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ B
Class
B
base_code/friend_func_class.cpp:19–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
};
18
19
class B
20
{
21
public:
22
static int getb(A ca) {
23
return ca.a;
24
}
25
};
26
27
int geta(A &ca)
28
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected