Open junxnone opened 1 year ago
[ captures ] ( params ) specs requires (optional) { body }
[]
[&]
[=]
[x, &y]
Reference
Brief
[ captures ] ( params ) specs requires (optional) { body }
captures
[]
无变量访问[&]
引用访问[=]
copy 访问[x, &y]
x 按值传递, y 引用传递