Disadvantage of using lambda default capture by value or reference in C++11?

后端 未结 0 390
花落未央
花落未央 2021-02-15 04:17

What are the pitfalls of using lambda default capture by value ([=]) or by reference ([&]) in C++11?

I know some pitfalls like:

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