C++ capture this in lambda inside another lambda

前端 未结 0 1373
时光取名叫无心
时光取名叫无心 2020-12-08 10:22

similar question of: C++11 variable capture with lambda inside another lambda

void MyClass::myFunction() {
// call the lambda1
func1([this]() {
    // in the          


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