Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e25310 commit ad4b958Copy full SHA for ad4b958
book/en-us/03-runtime.md
@@ -114,7 +114,7 @@ void lambda_expression_capture() {
114
}
115
```
116
117
-In the above code, `important` is an exclusive pointer that cannot be caught.
+In the above code, `important` is an exclusive pointer that cannot be caught by value capture using `=`.
118
At this time we need to transfer it to the rvalue and
119
initialize it in the expression.
120
book/zh-cn/03-runtime.md
@@ -102,8 +102,7 @@ int main() {
102
103
104
105
-在上面的代码中,`important` 是一个独占指针,是不能够被捕获到的,这时候我们需要将其转移为右值,
106
-在表达式中初始化。
+在上面的代码中,important 是一个独占指针,是不能够被 "=" 值捕获到,这时候我们可以将其转移为右值,在表达式中初始化。
107
108
### 泛型 Lambda
109
0 commit comments