Skip to content

Commit a1c4184

Browse files
authored
book: style fixes (#256)
1 parent de86a78 commit a1c4184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/zh-cn/03-runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const char*&& pr = "01234"; // 正确,"01234" 被隐式转换为 const char*
249249
// const char*& pl = "01234"; // 错误,此处不存在 const char* 类型的左值
250250
```
251251

252-
**将亡值(xvalue, expiring value)**,是 C++11 为了引入右值引用而提出的概念(因此在传统 C++ 中,
252+
**将亡值** (xvalue, expiring value),是 C++11 为了引入右值引用而提出的概念(因此在传统 C++ 中,
253253
纯右值和右值是同一个概念),也就是即将被销毁、却能够被移动的值。
254254

255255
将亡值可能稍有些难以理解,我们来看这样的代码:

0 commit comments

Comments
 (0)