docs: update containers API docs
This commit is contained in:
@@ -26,7 +26,7 @@ void Resize(size_t newSize, const T& value);
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Containers::Array<int> arr = {1, 2, 3};
|
||||
XCEngine::Containers::Array<int> arr = {1, 2, 3};
|
||||
|
||||
// 扩展到 5 个元素,新元素默认构造为 0
|
||||
arr.Resize(5);
|
||||
|
||||
Reference in New Issue
Block a user