Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 39d09a9

Browse files
committed
更新CHANGELOG.md,新增命名空间前缀调用机制的修复与优化,支持在任意作用域内使用using ns xxx;,并确保只影响当前作用域及其子作用域的无前缀调用。
1 parent 340d8df commit 39d09a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
- sleep(0.5) 现在可以正常工作,表示 0.5 毫秒
3838
- 新增 sleep_microseconds() 函数支持微秒级别延时
3939
- 使用纳秒级别精度,提供更精确的延时控制
40-
40+
- 修复并优化了命名空间前缀调用机制
41+
- 现在 `using ns xxx;` 可以在任意作用域(如函数体、代码块内)使用,并只影响当前作用域及其子作用域的无前缀调用(如 add(...)、reverse(...)),不会影响带前缀调用(如 math::add(...))。
4142
## [v0.2.5] - 2025-07-16
4243
4344
### 新增

0 commit comments

Comments
 (0)