What would a default lambda capture mode via init capture be like?

后端 未结 0 930
礼貌的吻别
礼貌的吻别 2020-12-31 13:46

With lambdas, in C++11, we can have a default capture mode set to by-value/by-ref, e.g. [=]/[&], optionally followed by explicit captures, by-r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题