Skip to content

Commit 4b46606

Browse files
committed
修改了一个错误的加粗符号位置
1 parent 9f58fef commit 4b46606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basic_content/static/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ int main()
5555

5656
- 类中的静态变量
5757

58-
由于声明为static的变量只被初始化一次,因为它们在单独的静态存储中分配了空间,因此类中的静态变量**由对象共享**对于不同的对象,不能有相同静态变量的多个副本。也是因为这个原因,静态变量不能使用构造函数初始化。
58+
由于声明为static的变量只被初始化一次,因为它们在单独的静态存储中分配了空间,因此类中的静态变量**由对象共享**对于不同的对象,不能有相同静态变量的多个副本。也是因为这个原因,静态变量不能使用构造函数初始化。
5959

6060
```c++
6161

0 commit comments

Comments
 (0)