MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / A

Class A

base_code/colon.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8int count = 0; // 全局(::)的count
9
10class A {
11public:
12 static int count; // 类A的count (A::count)
13};
14
15// 静态变量必须在此处定义
16int A::count = 5;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected