How do you know which members are captured in a lambda with automatic capture?

前端 未结 0 1841
眼角桃花
眼角桃花 2021-01-06 14:24

When we write [=] or [&] in a lambda capture I\'m just wondering how we can be sure exactly what it captures:

struct Bar
{
    int memb;
    int memb2;
           


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