We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a0ba43 commit e66dfdbCopy full SHA for e66dfdb
README_Details.md
@@ -988,16 +988,16 @@ int main()
988
989
#### 定位 new
990
991
-定位 new(placement new)允许我们向 new 传递额外的参数。
+定位 new(placement new)允许我们向 new 传递额外的地址参数,从而在预先指定的内存区域创建对象。
992
993
```cpp
994
-new (palce_address) type
995
-new (palce_address) type (initializers)
996
-new (palce_address) type [size]
997
-new (palce_address) type [size] { braced initializer list }
+new (place_address) type
+new (place_address) type (initializers)
+new (place_address) type [size]
+new (place_address) type [size] { braced initializer list }
998
```
999
1000
-* `palce_address` 是个指针
+* `place_address` 是个指针
1001
* `initializers` 提供一个(可能为空的)以逗号分隔的初始值列表
1002
1003
### delete this 合法吗?
0 commit comments