Skip to content

Commit

Permalink
[faq] typo: 添加列表格式
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Jan 31, 2024
1 parent 5ed890a commit d4aa2b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/faq/class_invariant/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ C++ 因此特意引入了新的关键字 :cpp:`class`, 当使用关键字 :cpp:`

.. admonition:: 相关核心准则

:doc:`/faq/coreguidelines/c_2`
:doc:`/faq/coreguidelines/c_40`
- :doc:`/faq/coreguidelines/c_2`
- :doc:`/faq/coreguidelines/c_40`

========================================================================================================================
一个教学的黑点
========================================================================================================================

教学里完全没有不变式这个知识点: "这是类的语法, 这是我们怎么定义构造函数, 这是我们怎么定义成员函数, 这是公用私用的区别……", 但从来不会解释为什么要有这些.
教学里完全没有不变式这个知识点: "这是类的语法, 这是我们怎么定义构造函数, 这是我们怎么定义成员函数, 这是公用私用的区别……", 但从来不会解释为什么要有这些.

0 comments on commit d4aa2b9

Please sign in to comment.