We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 711694e commit 69aa4f0Copy full SHA for 69aa4f0
book/zh-cn/05-pointers.md
@@ -27,7 +27,7 @@ order: 5
27
28
## 5.2 `std::shared_ptr`
29
30
-`std::shared_ptr` 是一种智能指针,它能够记录多少个 `shared_ptr` 共同指向一个对象,从而消除显示的调用
+`std::shared_ptr` 是一种智能指针,它能够记录多少个 `shared_ptr` 共同指向一个对象,从而消除显式的调用
31
`delete`,当引用计数变为零的时候就会将对象自动删除。
32
33
但还不够,因为使用 `std::shared_ptr` 仍然需要使用 `new` 来调用,这使得代码出现了某种程度上的不对称。
0 commit comments