File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ capture lists can be:
8787
8888- \[\] empty capture list
8989- \[ name1, name2, ...\] captures a series of variables
90- - \[ &\] reference capture, let the compiler derive the capture list by itself
91- - \[ =\] value capture, let the compiler execute the list of derivation applications
90+ - \[ &\] reference capture, let the compiler deduce the reference list by itself
91+ - \[ =\] value capture, let the compiler deduce the value list by itself
9292
9393#### 4. Expression capture
9494
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ void lambda_reference_capture() {
7676
7777- \[\] 空捕获列表
7878- \[ name1, name2, ...\] 捕获一系列变量
79- - \[ &\] 引用捕获, 让编译器自行推导捕获列表
80- - \[ =\] 值捕获, 让编译器执行推导引用列表
79+ - \[ &\] 引用捕获, 让编译器自行推导引用列表
80+ - \[ =\] 值捕获, 让编译器自行推导值捕获列表
8181
8282** 4. 表达式捕获**
8383
You can’t perform that action at this time.
0 commit comments