Skip to content

Commit 2030f01

Browse files
authored
book: fix malformed value-category section heading (zh) (#321)
The Chinese heading read "左值、右值的纯右值、将亡值、右值" (garbled, with 右值 duplicated). Correct it to the parallel list of the four value categories "左值、右值、纯右值、将亡值", matching the English heading "lvalue, rvalue, prvalue, xvalue". Fixes #319
1 parent 482a1c9 commit 2030f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎book/zh-cn/03-runtime.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ int main() {
208208
消除了诸如 `std::vector`、`std::string` 之类的额外开销,
209209
也才使得函数对象容器 `std::function` 成为了可能。
210210

211-
### 左值、右值的纯右值、将亡值、右值
211+
### 左值、右值、纯右值、将亡值
212212

213213
要弄明白右值引用到底是怎么一回事,必须要对左值和右值做一个明确的理解。
214214

0 commit comments

Comments
 (0)