Skip to content

Commit

Permalink
测试 Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mq-b committed Dec 27, 2023
1 parent 229475a commit a573119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++CoreGuidelines/第5章-类和类层次结构.md
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ public:

## C.67 多态类应当抑制公开的拷贝/移动操作

这条规则听起来无伤大雅,但往往是未定义行为的起因。首先,什么是多态类?
这条规则听.起来无伤大雅,但往往是未定义行为的起因。首先,什么是多态类?
多态类是定义或继承了至少一个虚函数的类。
拷贝一个多态类的操作可能会以切片而告终。切片是 C++ 中最黑暗的部分之一。

Expand Down

0 comments on commit a573119

Please sign in to comment.