docs: update containers API docs

This commit is contained in:
2026-03-20 02:35:01 +08:00
parent a647f5e8ec
commit 0c073db4e8
33 changed files with 135 additions and 56 deletions

View File

@@ -15,6 +15,10 @@ explicit HashMap(size_t bucketCount, Memory::IAllocator* allocator = nullptr);
**复杂度:** O(bucketCount),需要初始化所有桶
**线程安全:** ❌ 非线程安全
**异常:**
**示例:**
```cpp
@@ -22,8 +26,7 @@ XCEngine::Containers::HashMap<int, const char*> map1;
XCEngine::Containers::HashMap<int, const char*> map2(32);
auto customAllocator = XCEngine::Memory::GetDefaultAllocator();
XCEngine::Containers::HashMap<int, const char*> map3(64, customAllocator);
XCEngine::Containers::HashMap<int, const char*> map3(64, nullptr);
```
## 相关文档