Skip to content

Commit

Permalink
docs: 解释完整表达式
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Oct 29, 2024
1 parent 23b21e9 commit f136bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq/lifetime/temporary_object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
未被延长的临时对象
------------------------------------------------------------------------------------------------------------------------

对于临时对象, 它在 **整个表达式 (完整表达式, full expression)** 结束时被销毁. 如果整个表达式中有多个临时对象, 那么按临时对象构造的相反顺序被销毁.
对于临时对象, 它在 **整个表达式 (完整表达式, full expression, 简单来说就是分号结束时)** 结束时被销毁. 如果整个表达式中有多个临时对象, 那么按临时对象构造的相反顺序被销毁.

.. code-block:: cpp
:linenos:
Expand Down

0 comments on commit f136bad

Please sign in to comment.